Titanium JIRA Archive
Appcelerator Community (AC)

[AC-353] longjohn error

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2015-11-11T05:21:48.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI
Labelsn/a
ReporterWhyzx
AssigneeShak Hossain
Created2015-09-14T15:51:06.000+0000
Updated2015-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 !

Comments

  1. Papia Chowdhury 2015-09-15

    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.

JSON Source