1. Scenario
After installing node in win10, the commands node – V and NPM – V are normal. The node is successfully installed, but an error is reported when running NPM I:
npm ERR! Error: EPERM: operation not permitted, mkdir 'D:\Program Files\nodejs\node_ cache\_ cacache'
2. Cause
insufficient privilege
3. Solution
Find the node installation directory, right-click properties, click Security, and set users’ full control permission
Run CMD in administrator mode
Similar Posts:
- Windows Install Node.js Error: 2503, 2502 [How to Solve]
- [Solved] Terminal G + + run exe file Error: unable to locate program input point__gxx_personality_v0
- Jupyter notebook new Python3 Error: Permission denied: Untitled.ipynb,Modify workspace
- [Solved] Error reporting of NPM packaged electron app
- npm install: npm ERR! errno -4048, Error: EPERM: operation not permitted[How to Solve]
- [Solved] Git Bash error: could not lock config file Java/jdk1.7.0_71/.gitconfig: Permission denied
- BackupDiskFile::CreateMedia: Backup device ‘D:\\backup\\drm_server20220114.bak’ failed to create. Operating system error 5(Access denied.)
- The “git” item cannot be recognized as the name of a cmdlet, function, script file, or executable program. Please check the spelling of the name, if you include the path, make sure the path is correct
- Part xxx is out of date with respect to the design cache.Use Update Cache to synchronize the part…
- Chromedriver executable needs to be in path [How to Solve]