npm添加淘宝镜像并启动服务
2017-07-20 13:12
309 查看
0.下载node.js应用程序下载并安装 https://nodejs.org/en/
1.通过config命令
npm config set registry https://registry.npm.taobao.org
npm info underscore (如果上面配置正确这个命令会有字符串response)
2.命令行指定
npm --registry https://registry.npm.taobao.org info underscore
3.编辑 ~/.npmrc 加入下面内容
registry = https://registry.npm.taobao.org
4.编译 npm install
5.发布服务 npm run dev
1.通过config命令
npm config set registry https://registry.npm.taobao.org
npm info underscore (如果上面配置正确这个命令会有字符串response)
2.命令行指定
npm --registry https://registry.npm.taobao.org info underscore
3.编辑 ~/.npmrc 加入下面内容
registry = https://registry.npm.taobao.org
4.编译 npm install
5.发布服务 npm run dev
相关文章推荐
- npm添加淘宝镜像
- Windows Server 2012 R2 WDS部署服务之三添加启动镜像和安装镜像
- NPM和Yarn添加淘宝镜像
- npm添加淘宝镜像
- npm添加淘宝镜像
- npm添加淘宝镜像
- 【npm】使用淘宝提供的镜像来加速npm
- Linux下chkconfig命令详解即添加服务以及两种方式启动关闭系统服务
- yum 安装mysql后怎样启动,以及添加为系统服务,但不能开机启动
- fedora 16 yum安装mysql后怎样启动,以及添加为系统服务
- 为镜像添加SSH服务
- nodejs安装淘宝npm镜像【cnpm】
- 添加Nginx为系统服务(设置开机启动)
- android系统添加启动服务
- npm太慢, 淘宝npm镜像使用方法
- npm 淘宝镜像配置一直无效的可能原因
- npm的镜像替换成淘宝
- ubuntu12.04添加开机启动程序(开机启动svn服务)
- Centos 6&7下服务启动方法及添加到开机启动