You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm ERR! Error: EACCES: permission denied, access '/opt/node-v10.15.3/lib/node_modules'
npm ERR! { [Error: EACCES: permission denied, access '/opt/node-v10.15.3/lib/node_modules']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access \'/opt/node-v10.15.3/lib/node_modules\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/opt/node-v10.15.3/lib/node_modules' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/itgoyo/.npm/_logs/2019-04-08T14_07_18_160Z-debug.log
这需要给文件夹所有权限即可
sudo chmod -R 777 /usr/local/lib/node_modules/
根据真实情况而定
The text was updated successfully, but these errors were encountered:
这需要给文件夹所有权限即可
sudo chmod -R 777 /usr/local/lib/node_modules/
根据真实情况而定
The text was updated successfully, but these errors were encountered: