扫码关注官方订阅号
npm没有安装镜像文件能安装bower,grunt等模块吗?
学习是最好的投资!
"镜像文件"是个什么鬼?
直接npm install bower --options 就可以啊 ,要啥自行车
npm install bower --options
看你网络了,如果是天朝网络,还是推荐淘宝镜像
npm set registry https://registry.npm.taobao.org # 注册模块镜像 npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像 npm cache clean # 清空缓存
然后就可以正常安装各种模块了。
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
"镜像文件"是个什么鬼?
直接
npm install bower --options就可以啊 ,要啥自行车看你网络了,如果是天朝网络,还是推荐淘宝镜像
然后就可以正常安装各种模块了。