一、环境搭建: 1. 安装Nodejs 官网下载后,输入node -v 查看node版本号 2. 安装淘宝镜像cnpm或者yarn 打开终端,设置淘宝 npm 镜像,输入: npm config set registry https://registry.npm.taobao.org 安装完后输入 ...
分类:
其他好文 时间:
2019-05-20 09:13:46
阅读次数:
120
1.得到原本的镜像地址 npm get registry > https://registry.npmjs.org/ 设成淘宝的 npm config set registry http://registry.npm.taobao.org/ yarn config set registry http ...
分类:
其他好文 时间:
2019-05-19 22:07:38
阅读次数:
189
报这个问题是因为npm代理的问题,解决办法: 1. 可以临时使用淘宝镜像 npm --registry https://registry.npm.taobao.org install 你想安装的npm包名称 解析:registry是npm 模块仓库提供了一个查询服务,叫做 registry 。以 n ...
分类:
其他好文 时间:
2019-05-18 19:03:19
阅读次数:
4538
今天想用npm安装vue-cli@2.9 卡半天,安装不成功,清空缓存,换taobao源重来,还是一样。 无奈之下换yarn 分分钟装完。 是时候列出一个npm和yarn常见命令对比表了 ...
分类:
其他好文 时间:
2019-05-16 17:41:06
阅读次数:
109
如图,拿到一个openwrt路由器我们第一步要远程控制。 这里在买了两块wifi-robots wifi视频模块。 0首先说下这个WIIF的信息 淘宝购买链接 https://item.taobao.com/item.htm?spm=a312a.7700824.w5001-18055431271.3 ...
分类:
其他好文 时间:
2019-04-25 09:17:32
阅读次数:
337
安装cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org 安装 vue.js cnpm install -g vue-cli cnpm cache clean —force cnpm install webpack - ...
分类:
其他好文 时间:
2019-04-22 00:29:19
阅读次数:
177
安装cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org 安装 vue.js cnpm install -g vue-cli cnpm cache clean —force cnpm install webpack - ...
分类:
Web程序 时间:
2019-04-22 00:14:42
阅读次数:
170
Vue.js 安装cnpm npm install -g 镜像 cnpm --registry=https://registry.npm.taobao.org 安装 vue.js cnpm install -g vue-cli cnpm cache clean —force cnpm install ...
分类:
其他好文 时间:
2019-04-21 21:40:12
阅读次数:
162
shift +右键打开shell窗口 淘宝 npm 地址: http://npm.taobao.org/ 如何使用 有很多方法来配置npm的registry地址,下面根据不同情境列出几种比较常用的方法。以淘宝npm镜像举例: 1.临时使用 npm --registry https://registr ...
分类:
其他好文 时间:
2019-04-20 00:12:15
阅读次数:
207
企业内网搭建CA服务器生成自签名证书,CA签署,实现企业内网xshellkey验证访问服务器)
分类:
其他好文 时间:
2019-04-19 14:45:06
阅读次数:
213