扫码关注官方订阅号
想用impress.js懒得写代码就安装了Strut 结果需要Grunt 根据网上教程
安装失败 求解
业精于勤,荒于嬉;行成于思,毁于随。
可能你的npm是root的权限装的,cd /usr/local/share/npm/lib && ls -l看下吧,建议 Mac 不要使用root 装 node
cd /usr/local/share/npm/lib && ls -l
sudo npm install -g grunt-cli
Please try running this command again as root/Administrator
这么大字lz就是看不到……
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
可能你的npm是root的权限装的,
cd /usr/local/share/npm/lib && ls -l看下吧,建议 Mac 不要使用root 装 nodesudo npm install -g grunt-cli
这么大字lz就是看不到……