Got the same error sh: 1: node: Permission denied
So this worked for me
npm config set user 0
npm config set unsafe-perm true
More Related Contents:
- Find the version of an installed npm package
- What’s the difference between dependencies, devDependencies and peerDependencies in npm package.json file?
- How do I override nested NPM dependency versions?
- 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’
- How to set custom location for local installation of npm package?
- Using npm behind corporate proxy .pac
- npm WARN package.json: No repository field
- How to npm install to a specified directory?
- can you host a private repository for your organization to use with npm?
- Fixing npm path in Windows 8 and 10
- receiving error: ‘Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN’ while using npm
- Angular2 QuickStart npm start is not working correctly
- NPM stuck giving the same error EISDIR: Illegal operation on a directory, read at error (native)
- Node Sass couldn’t find a binding for your current environment
- npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
- How to consume npm modules from typescript?
- Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE Phonegap Installation
- How to Delete node_modules – Deep Nested Folder in Windows
- How to install npm -g on offline server
- Global Node modules not installing correctly. Command not found
- Error “npm WARN package.json: No repository field”
- Browserify – How to call function bundled in a file generated through browserify in browser
- What is the difference between res.send and res.write in express?
- Is there any way to fix package-lock.json lockfileVersion so npm uses a specific format?
- Cannot uninstall angular-cli
- Webpack 4 “size exceeds the recommended limit (244 KiB)”
- How to install NodeJS LTS on Windows as a local user (without admin rights)
- Permission denied when installing npm modules in OSX
- How to store a file with file extension with multer?