From *ti info*:
Titanium SDK version 5.2.0.GA
Node.js
Node.js Version = 0.12.7
npm Version = 2.11.3
Titanium CLI
CLI Version = 4.0.1
node-appc Version = 0.2.26
I just updated to newer version of Appcelerator and now I got this error just after login and every command I launch using appc:
/usr/local/lib/node_modules/appcelerator/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/index.js:3
const EventEmitter = require('events').EventEmitter;
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.
(/usr/local/lib/node_modules/appcelerator/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/index.js:2:11)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
How to solve? Please I cannot find anything similar on your Jiira.
Hello, Please try running the following command in the terminal, rm -rf ~/.appcelerator rm -rf ~/.titanium sudo npm uninstall -g titanium sudo npm uninstall -g appcelerator sudo npm install -g appcelerator appc use latest appc setup Reply with your findings. Thanks.
Hi Sharif, thank you for you valuable support. All the commands you suggested worked and the AppceleratorStudio IDE came back to life. Anyway if I run the project to a iOS simulator or Android Emulator it doesn't start showing this error: dyld: lazy symbol binding failed: Symbol not found: __ZN2v86Object3SetENS_6HandleINS_5ValueEEES3_NS_17PropertyAttributeE Referenced from: /Users/me/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.GA/node_modules/ioslib/node_modules/node-ios-device/out/node_ios_device_v14.node Expected in: dynamic lookup