Titanium File /index.html not found - titanium

Im just started the default template ¨Hello World¨ Project, Its a fresh installation and I didn't make any changes, but everytime a try to run the project, I get the File /index.html not found error...
PLease help!! Thanks for your attention! :D

This Question was answered here by Josiah Hester
Sounds like you created a default alloy project, all the app/controllers/index.xml file does is load another controller, probably called FirstView or something like that. Look through your views directory inside the app directory for another .xml file.
The structure of Alloy is that the index.xml file is loaded first no matter what, so it is not even recognizing your index2.xml. I would highly recommend you go through the Alloy Quick Start to get the general concepts first.

Related

Nuxtjs - What's happend with my nuxt project

When I create nuxt-app and I opened in the browser and see this
I think this look so different
This is the exact same question as yesterday's: Some of the directories are missing when I'm trying to create a new Nuxt js project
And, there is nothing to fix really, everything is working as before. Add your missing directories and keep the same flow as before.

How To Upload Vue.js project in Live Server

I believe it is much the same as a vue.js 2.6 upload. I have my setup as follows, is this correct? Is the only file I need to amend the index.html file which in my case is in the techjobs folder? I have amended this file to suit the directory structure. Are there any other files.Please provide .htaccess file
I'm not sure about what are you asking, could you try to modify tour question, please?
Anyways, if what do you want is to know the way to compile and push to a production environment, there are several options like Firebase, Netlify, Github pages, etc.
You can use this documentation where you can follow step by step how to push to production.
https://cli.vuejs.org/guide/deployment.html#general-guidelines

DTCoreText file not found

I am trying to use DTCoreText and I have followed the setup documentation to the T. Everything seems to be working find and my project builds correctly, however, when I try to import some classes to try them out in my view controller I get a file not found.
I didn't make any changes to this project for simplicity its a Single View bare bones template with DTCoreText configured to work with it after following the setup instructions on DTCoreText's github
I have posted a zipped version of my project here:
Is there something I am missing here?
Any and all help is greatly appreciated-

symfony1.4-like symfony2 installation

symfony1.x followed a good standart that the whole framework lies somewhere outside and is available to any project. Today I started to read symfony2 documentation and actually downloaded the 'with vendors' 2.0.1 package which is presented on download page. After opening the package I was a bit surprised of what I've seen. But after looking around the package I found that the only folder I need is 'vendors' one - so I copied its content to my '...\lib\vendor\symfony2' folder (near '...\lib\vendor\symfony' and '...\lib\vendor\ext'). I added it to include path and proceed reading documentation. And then I found a problem - a command listed 'php app/console generate:bundle --namespace=Acme/HelloBundle --format=yml' produced simple questions. Did they miss to explain how to generate a project (structure, preconfiguration, command-line files, etc)? And what about '.bat' and '.sh' files?
Symfony2 is very, very different than symfony 1 - especially when it comes to the directory structure. You can't simply drop in the vendors dir and expect it to work. This page explains how to setup a new Symfony2 project.
I recommend you to forget Symfony... and to think with Symfony2 about another think completely different than S1.
Installation is really simple and you will need some advanced PHP knowledge just to understand how it works... But if you have worked with S1, I expect you will have not much problems :)

Intellij Idea problem with text file impossible to read

I have a problem using Intellij Idea.
I am absolutely unable to load text file as InputStream - it doesnt matter where do I put the file (main/java, main/resources...) it just can't find the file - in Eclipse everything works just fine.
I tried setings->compiler->resource patterns and added ?*.txt but that doesn't seem to work either.
Any help is appreciated.
If you load it as a File, make sure that Working Directory is properly set in IDEA Run/Debug Configuration, since it's the default directory where Java will look for a file when you try to access it like new File("file.txt"). Working directory should be set to the directory of your project containing .txt files.
If you load files as a classpath resource, then they should reside somewhere under Source root and will be copied to the classpath according to Settings | Compiler | Resource Patterns.
If you can't get it working, upload your project somewhere including IDEA project files so that we can point to your mistake.
Look at the image, notice that the txt files are in the project root, and not the source folders (in blue).
If you open the Project Structure dialog, and click on Modules and select your module - are the correct folders marked as Source Folders on the sources tab?
Link for how to get to Project Structure dialog
Also, if you print out the absolute path of that file you are trying to read, is that anywhere near where you expect it to be?
An easy way to figure out the same would be to try creating a file in the same fashion and see where it gets created in your project. You can put your input file at the same location and it should work just fine (if it doesn't, you should check your resource pattern which might be causing the file to be not copied over in the build output).
This method actually gives you the working directory of your intellij settings which is pointed out in the accepted answer. Just sharing as I had similar trouble and I figured out this way. :)