appcelerator - Titanium CLI alloy execution location -


i wrote small hack enable writing titanium apps typescript (https://github.com/developer82/ti.typescript). involves editing sdk alloy compiler script.

as can tell i've written script located @ /users/your_username/.appcelerator/install/sdk_version/package/node_modules/alloy/alloy/commands/compile/index.js

when run project titanium studio works great. when try run command line using ti build -p ios i'm getting error this project requires typescript hack in titnaium sdk - validation wrote hack applied compiler.

the reason running command line, cli looking alloy in /usr/local/bin/alloy - learned following output:

[info]  executing alloy compile: /usr/local/bin/node /usr/local/bin/alloy compile /users/ophir/documents/appcelerator_studio_workspace/my_project/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=development,target=simulator 

why different location? why cli doesn't work appcelerator studio? how can make work appc studio?

solution turned simpler thought... instead of using ti command started using appc command:

appc run --platform iphone --liveview 

i think ti open source version (which uses alloy installed node) , appc appcelerator platform (that's appcelerator studio runs).


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -