Clean install Ember-cli


#1

I want to do a clean install on my Mac (10.11.4). I’ve tried to reinstall, Node, npm, Ember-cli… But I still get errors after creating a new project and starting with Ember server ([BABEL] Note: The code generator has deoptimised…, The Broccoli Plugin: [Babel] failed with:…) . I tried to do a new installation on another iMac (10.11.4) and there it works fine.


#2

Perhaps try ??:

  1. npm uninstall -g ember-cli – Remove old global ember-cli
  2. npm cache clean – Clear NPM cache
  3. bower cache clean – Clear Bower cache
  4. npm install -g ember-cli – Install new global ember-cli

#3

Did all that, several times, no luck at all. There must be something more…


#4

It must be something local. I’ve created another user on my mac. Just did ember new abc and ember serve, It worked! What can be wrong?


#5

Perhaps it is a bug? I read this:

https://github.com/ember-cli/ember-cli/issues/5600

and

http://stackoverflow.com/questions/35821117/cant-setup-local-ember-js-server-error-on-ember-server-command


#6

@Frank_Stock did you solve?


#7

I don’t know if it will help but I now use “n” to manage my node versions.

https://www.npmjs.com/package/n