Skip to content

Instantly share code, notes, and snippets.

@99z
Last active July 15, 2016 18:13
Show Gist options
  • Save 99z/9449d6c779341c4d015508b7f44aa786 to your computer and use it in GitHub Desktop.
Save 99z/9449d6c779341c4d015508b7f44aa786 to your computer and use it in GitHub Desktop.
Fix for "error: couldn't install npm packages from npm-shrinkwrap" when running Meteor
From: http://stackoverflow.com/questions/31104909/meteor-fails-cant-install-npm-packages-from-npm-shrinkwrap
$ meteor remove meteorhacks:npm
If the remove command doesn't work, manually delete the "meteorhacks:npm" and "npm-contanier" references from the .meteor > packages file. Then delete the folder: /packages/npm-container
Add meteorhacks:npm back into the project:
$ meteor add meteorhacks:npm
Start the app to initialize the npm package:
$ meteor
Change version of "jsdom" in packages.json to 9.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment