为什么npm在安装grunt,yeoman等包时老是出错

2025-03-13 05:53:40
推荐回答(1个)
回答1:

安装过程中没有操作权限,使用管理员身份执行就可以了。
例如 sudo npm install xx。