Skip to content

Instantly share code, notes, and snippets.

@mwpastore
Last active November 12, 2015 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwpastore/8689d3dc6f4e7fa24950 to your computer and use it in GitHub Desktop.
Save mwpastore/8689d3dc6f4e7fa24950 to your computer and use it in GitHub Desktop.
Workaround for installing ember-cli@1.13.10 in Node 4.2 with NPM 3.2

Setup:

  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@1.13.10 --rollback false # Begin the ember-cli install
  5. cd $(npm config get prefix)/lib/node_modules/ember-cli
  6. npm install --save-dev tap-parser@1.2.2 # Install the missing package
  7. cd -
  8. npm install -g ember-cli@1.13.10 # Resume the ember-cli install

Project Update:

  1. rm -rf node_modules bower_components dist tmp # Delete temporary development folders.
  2. npm install --save-dev ember-cli@1.13.10 --rollback false # Begin to update project's package.json to use latest version.
  3. cd node_modules/ember-cli
  4. npm install --save-dev tap-parser@1.2.2 # Install the missing package
  5. cd -
  6. npm install --save-dev ember-cli@1.13.10 # Resume updating project's package.json to use latest version.
  7. npm install # Reinstall NPM dependencies.
  8. bower install # Reinstall bower dependencies.
  9. ember init # This runs the new project blueprint on your projects directory. Please follow the prompts, and review all changes (tip: you can see a diff by pressing d). The most common source of upgrade pain is missing changes in this step.

For more information, please refer to the official instructions:

https://github.com/ember-cli/ember-cli/releases/tag/v1.13.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment