This looks like a permissions issue in your home directory. To reclaim ownership of the .npm directory execute:
sudo chown -R $(whoami) ~/.npm
Related Contents:
- npm install errors with Error: ENOENT, chmod
- sudo: npm: command not found
- gyp WARN EACCES user “root” does not have permission to access the dev dir
- Do I commit the package-lock.json file created by npm 5?
- How can I update NodeJS and NPM to their latest versions?
- npm WARN package.json: No repository field
- How to set environment variables from within package.json?
- How do I override nested NPM dependency versions?
- npm – how to show the latest version of a package
- How to install npm peer dependencies automatically?
- Is there a way to force npm to generate package-lock.json?
- How to npm install to a specified directory?
- How to yum install Node.JS on Amazon Linux
- How do I uninstall a package installed using npm link?
- Checking version of angular-cli that’s installed?
- NPM clean modules
- npm ERR! Error: EPERM: operation not permitted, rename
- NodeJS – Error installing with NPM
- How to tell if an npm package was installed globally or locally
- Install dependencies globally and locally using package.json
- Node package ( Grunt ) installed but not available
- npm – install dependencies for a package in a different folder?
- How to install package with local path by Yarn? It couldn’t find package
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents
- How do I fix a vulnerable npm package in my package-lock.json that isn’t listed in the package.json?
- An unhandled exception occurred: Job name “..getProjectMetadata” does not exist
- Global npm install location on windows?
- npm WARN npm npm does not support Node.js v9.1.0
- How can I solve error gypgyp ERR!ERR! find VSfind VS msvs_version not set from command line or npm config?
- What does the `npm i` command do?
- How to install NodeJS LTS on Windows as a local user (without admin rights)
- Installing “global” npm dependencies via package.json [duplicate]
- npm install hangs on loadIdealTree:loadAllDepsIntoIdealTree: sill install loadIdealTree
- wasm code commit Allocation failed – process out of memory
- `node-pre-gyp install –fallback-to-build` failed during MeanJS installation on OSX
- Get/View Memory & CPU usage via NodeJS
- npm `wanted` vs `latest`
- When installing a package with NPM, can you tell it to use a different version of one of its dependencies?
- npm run dev fails : ValidationError: Invalid options object
- Docker Node Alpine Image Build Fails on node-gyp
- npm install without ssl
- Cannot read properties of undefined (reading ‘transformFile’) at Bundler.transformFile
- Update package to a major release with NPM
- NPM private git module on Heroku
- How to find unused packages in package.json?
- How to set env var for .npmrc use
- Grunt dependencies conflicts in Bootstrap
- Getting Error 402 while publishing package using npm
- What is the difference between yarn.lock and npm’s package-lock?
- Why is npm running prepare script after npm install, and how can I stop it?