If you have npm version 5 or above, try this first:
$ sudo npm cache verify
Otherwise:
$ sudo npm cache clean
My node and npm versions are:
$ node -v
v0.10.0
$ npm -v
1.2.14
More Related Contents:
- How to deploy node app that uses grunt to heroku
- How to use environment variables in package.json
- Find the version of an installed npm package
- What’s the difference between dependencies, devDependencies and peerDependencies in npm package.json file?
- NPM Install Error:Unexpected end of JSON input while parsing near ‘…nt-webpack-plugin”:”0’
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- Fixing npm path in Windows 8 and 10
- Allow CORS REST request to a Express/Node.js application on Heroku
- receiving error: ‘Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN’ while using npm
- NPM stuck giving the same error EISDIR: Illegal operation on a directory, read at error (native)
- node 5.5.0 already installed but node -v fetches with “v4.2.1” on OS X & homebrew?
- How do you prevent install of “devDependencies” NPM modules for Node.js (package.json)?
- Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE Phonegap Installation
- How to Delete node_modules – Deep Nested Folder in Windows
- Webpack for back-end?
- How to install npm -g on offline server
- Can’t uninstall global npm packages after installing nvm
- Global Node modules not installing correctly. Command not found
- npm install hangs
- Error “npm WARN package.json: No repository field”
- What is the difference between res.send and res.write in express?
- Jest gives `Cannot find module` when importing components with absolute paths
- Is there any way to fix package-lock.json lockfileVersion so npm uses a specific format?
- Cannot uninstall angular-cli
- Difference between `npm start` & `node app.js`, when starting app?
- NPM cannot install dependencies – Attempt to unlock something which hasn’t been locked
- nodejs “npm ERR! code SELF_SIGNED_CERT_IN_CHAIN”
- npm install that requires node-gyp fails on Windows
- npm update check failed
- NPM – Can’t install socket.IO