Error: EACCES: permission denied,
If you believe this might be a permissions issue, please double-check the permissions of the file and its containing directories, or try running the command again as root/Administrator.
直接在输入命令前增加sudo 关键词
sudo npm install
紧接着会弹出密码框
直接输入密码后回车即可