npm使用过程中的积累

发布于 2021-09-09  359 次阅读


  • npm使用淘宝镜像: npm config set registry https://registry.npm.taobao.org
    • 恢复回去: npm config set registry https://registry.npmjs.org
  • 为了 compile native Node modules, 通过npm自动下载安装Visual C++ Build Tools: npm install --global --production windows-build-tools, 必须要安装python2.7才能运行此命令

暂时还没找到人生乐趣的消极家