
npm
rancho辉
It just works.
展开
-
npm镜像 yarn镜像 yarn install ERRO
yarn安装依赖报错:node_modules\phantomjs-prebuilt: Command failed 切成国内镜像 PHANTOMJS_CDNURL=http://npm.taobao.org/mirrors/phantomjs yarn install yarn官方中文文档 淘宝镜像 NPM 查询当前镜像 npm get registry 设置为淘宝镜像 npm conf...原创 2019-10-25 13:51:19 · 716 阅读 · 0 评论 -
更新npm
获取当前npm版本 npm -v 更新到最新版本 如果不是最新版本,运行一下代码即可。 npm install -g npm 这样npm就更新到最新版本了。 更新到指定版本 npm -g install npm@2.9.1 淘宝镜像 因为国内的网络环境原因,在下载npm包的时候经常会遇到无法正常下载的情况。国内淘宝推出了 npm 镜像,这是一个完整的 http://npm.taobao.or...原创 2019-06-21 15:09:53 · 499 阅读 · 0 评论