zoukankan      html  css  js  c++  java
  • Npm 被公司墙解决方法

    npm被公司墙了,不能用npm安装任何包应用了。

    npm ERR! Darwin 15.5.0
    npm ERR! argv "/usr/local/Cellar/node/6.4.0/bin/node" "/usr/local/bin/npm" "install" "webpack"
    npm ERR! node v6.4.0
    npm ERR! npm v3.10.3
    npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
    
    npm ERR! unable to get local issuer certificate
    npm ERR! 
    npm ERR! If you need help, you may report this error at:
    npm ERR! <https://github.com/npm/npm/issues>
    
    npm ERR! Please include the following file with any support request:
    npm ERR! /Users/huangtaizhao/les/react/npm-debug.log

    在确定所安装的包是安全的情况下,可以这样做(关闭npm的https):

    npm config set strict-ssl false

    ➜  npm config set strict-ssl false

  • 相关阅读:
    Maker DAO 与稳定币 Dai
    0x 协议治理体系,Part-2:Q&A
    Gnosis白皮书
    Digix:密码学资产中的黄金标准
    闪电网络主心骨——HTLC(哈希时间锁定)简介
    如何减少PDF文件的大小
    以太坊:创建 ERC-20 token
    Sublime Text 3 快捷键大全
    数据库学习第二季第三集:各种编程语言从数据库中获得数据方式小结
    数据库学习第二季第三集:各种编程语言从数据库中获得数据方式小结
  • 原文地址:https://www.cnblogs.com/joejs/p/6728144.html
Copyright © 2011-2022 走看看