[AC-353] longjohn error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2015-11-11T05:21:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI |
Labels | n/a |
Reporter | Whyzx |
Assignee | Shak Hossain |
Created | 2015-09-14T15:51:06.000+0000 |
Updated | 2015-11-11T05:21:48.000+0000 |
Description
Running : titanium build -p android -b
Got this error :
/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:194
throw e;
^
Error: spawn EACCES
at exports._errnoException (util.js:746:11)
at ChildProcess.spawn (child_process.js:1162:11)
at exports.spawn (child_process.js:995:9)
I tried to install longjohn0.2.4 as recommended there : https://community.appcelerator.com/topic/937/longjohn-js-throw-e-when-running-titanium-cli/5
but it doesn't change anything.
Thanks for your help !
Hello, Here are a couple of things to try and let us know if this works for you. * Make sure you have the latest Appc CLI from NPM : sudo npm install -g appcelerator * To check which version you are on, run : npm list -g --depth 0 appcelerator * run the setup command with debug and trace flags turned on : DEBUG=* appc setup -l trace Next, try a clean install of your Appc CLI: * Uninstall Appc CLI from NPM global path : sudo npm uninstall -g appcelerator * Remove Appc CLI installed locally : sudo rm -rf .appcelerator * Cache clean from NPM : sudo npm cache clean * Then, reinstall Appc CLI from NPM : sudo npm install -g appcelerator * Run setup : appc setup Thanks.