node.js - npm没有安装镜像文件能安装bower,grunt等模块吗!
PHPz
PHPz 2017-04-17 14:20:40
0
3
598

npm没有安装镜像文件能安装bower,grunt等模块吗?

PHPz
PHPz

学习是最好的投资!

reply all(3)
洪涛

What the hell is an "image file"?

洪涛

Just npm install bower --options and that’s it. What kind of bike do you want

阿神

It depends on your network. If it is a Chinese network, I still recommend Taobao mirror

npm set registry https://registry.npm.taobao.org # 注册模块镜像
npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像
npm cache clean # 清空缓存

Then you can install various modules normally.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template