During the execution of NPM I, NPM I suddenly went on strike. Similar error occurs below
The reason is the lack of permissions
The solution is as follows:
The reason is the lack of permissions
The solution is as follows:
sudo chown -R $(whoami) ~/.npm
This line of code can easily solve this problem!!
Read More:
- Unhandled rejection Error: EACCES: permission denied, open ‘/Users
- Android has applied for permission and still prompts open failed: eacces (permission denied)
- Solve the problem of dynamically applying for permission, but still reporting an error of open failed: eacces (permission denied)
- mac Error: EACCES: permission denied, mkdir ‘./cache’
- NPM ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- ERROR: While executing gem … (Errno::EACCES) Permission denied @ dir_s_mkdir – /var/lib/gems
- Developing in Android java.net.SocketException : socket failed: eacces (permission denied) reported an error
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’ npm ERR! at Error (native)
- Unhandled project rejection type error: webassembly instance
- [react+antd] Table Error: Unhandled Rejection (TypeError): data.slice is not a function
- Ie11 reports an error unhandled promise rejection typeerror: the object does not support
- Wechat applet error: unhandled project rejection type error: webassembly.instant
- Permission error: [errno 13] permission denied: ‘… ” xxx.pyd ‘
- error: cannot open .git/FETCH_ Head: permission denied resolved
- Git error: no permission remote: error: unable to unlink old ‘ README.md ‘ (Permission denied)
- “Permission denied” error in Oracle10g installation
- Solution to permission denied
- Mac installation software, error permission denied @ unlink_ internal
- Solutions for permission denied
- Ioerror: [errno 13] permission denied