problem description
encountered when using the instruction
npm install
background
there are package.json
files
{
"name": "myPackage",
"version": "0.0.1",
"dependencies": {
"express": "^4.16.3",
"mysql": "^2.16.0",
"body-parser": "^1.18.3"
}
}
but cannot be installed using npm install, and is already an administrator
related codes
Unhandled rejection Error: EPERM: operation not permitted, mkdir "/Users/chang/.npm"
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>