Skip to content

Instantly share code, notes, and snippets.

@GGAlanSmithee
Last active November 22, 2015 14:13
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 GGAlanSmithee/69c8ea5fd04fd21a8361 to your computer and use it in GitHub Desktop.
Save GGAlanSmithee/69c8ea5fd04fd21a8361 to your computer and use it in GitHub Desktop.
docker npm issues

Sometimes npm will turn very slow out and not install anything.

It seems to have something to do with using npm on a docker VM.

The fix for me was

npm cache clean

followed by

npm config set registry http://registry.npmjs.org/

(node v5.1.0, npm v3.5.0)

references:

npm/npm#7862 npm/npm#9086

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