Search code examples
appceleratorappcelerator-studio

Appcelerator Studio - not loading after upgrade


I've just upgraded to the new version of Appcelerator Studio and now when I try to start it I get an error.

When I start the app I'm asked for my email and password and after entering credentials I get the following error message:

Login Error

module.js:327
  throw err;
  ^

Error: Cannot find module 'fstream'
     at Function.Module._resolveFilename (module.js:325:15)
     at Function.Module._load (module.js:276:25)
     at Module.require (module.js:353:17)
     at require (internal/module.js:12:17)
     at Object.<anonymous> (/usr/local/node_modules/appcelerator/node_modules/tar/lib/entry.js:14:15)
     at Module._compile (module.js:387:26)
     at Object.Module._extensions.js (module.js:404:10)
     at Module.load (module.js:343:32)
     at Function.Module._load (module.js:300:12)
     at Module.require (module.js:353:17)

I've also tried downloading setup from the site and reinstalling - didn't help.

I'm running on MAC OS X.


Solution

  • I've had this as well, thought it was some kind of an issue at my system, but I'll report it.

    You can resolve this by reinstalling the Appcelerator CLI:

    sudo npm i -g appcelerator
    appc use 5.2.0 --force