Closed RavindraChherke closed 6 years ago
@RavindraChherke with a standard installation you should have an ~/.appcelerator directory containing the installed versions. The install/.version file simply contains the version number of the selected version. This code hasn't changed in v1.1.0 so I'm not sure why it is suddenly throwing an error. Are you running Atom under a different user to that which installed the Appcelerator tools?
Thank you @chrisbowley .
Seems like my fault. I may have deleted the .version file mistakenly.
I have my project built with Titanium SDK version 5.4.0 and now I am trying to upgrade it to SDK 7. I need to switch between CLI versions frequently to work with both versions. By default Titanium picks the new version so I generally rename the folder.
I created a .version file and put the version but now getting a different error.
Uncaught Error: ENOENT: no such file or directory, scandir '/Users/ravindra/.appcelerator/install/7.0.1 /package/node_modules/alloy/Alloy/commands/compile/parsers
I use n tool for node version management. I have two version of node 4.2.6 for sdk 5.4 and 8.9.1 for 7.0.1
This Atom Plugin is great but I think for now I have to work on Terminal.
Getting error after updating to version 1.1.0
Atom: 1.24.0 x64 Electron: 1.6.16 OS: Mac OS X 10.13.2 Thrown From: appcelerator-titanium package 1.1.0
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/Users/ravindra/.appcelerator/install/.version'
Commands
Non-Core Packages