Ti icon indicating copy to clipboard operation
Ti copied to clipboard

Cannot Create Project (Master)

Open hookercookerman opened this issue 13 years ago • 5 comments
trafficstars

No such file or directory Resources/KS_nav_ui.png

hookercookerman avatar Jan 20 '12 10:01 hookercookerman

same error here , i have clone & installed the master too, tried with ruby 1.9.3 & 1.9.2. any hints on this ?

thanks

michelson avatar Feb 07 '12 22:02 michelson

Yep, same here. The project.rb generator looks for Resources/KS_nav_ui.png and Resources/KS_nav_views.png, which aren't present in the default project resources I'm getting out of Titanium Studio when running: ti new ti-gen-app uk.co.donotremove.tigenapp desktop

I don't see anything about desktop not being supported but maybe that's my cause?

mikesten avatar Feb 13 '12 13:02 mikesten

check if "titanium" cmd runs ok in your shell, that was my problem

michelson avatar Feb 13 '12 14:02 michelson

Did you mean, Do you using Zsh?

In my case. I added alias to .zsh_profile.

But, titnaium cmd is called from Bash. Like this. https://github.com/revans/Ti/blob/master/lib/ti/generate/project.rb#L83

I didn't add alias to .bash_profile. So titanium cmd not found.

I resolved by adding an alias to the bash_profile.

mochiz avatar Feb 16 '12 16:02 mochiz

This. Thank you mochiz. It really should be spelled out in the docs put it in bash_profile (not bashrc or any other file). I also use zsh and this threw me for a loop.

Sophrinix avatar Jul 09 '12 21:07 Sophrinix