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

  • 相关阅读:
    vue获取客户端ip地址
    Webpack 4 : ERROR in Entry module not found: Error: Can't resolve './src'
    PageHelper使用以及PageInfo中分页对象的转化
    PyCharm创建Django项目并连接mysql数据库
    Java常用类介绍
    Mybatis中的Mapper.xml映射文件sql查询接收多个参数
    学会聆听……
    SpringSecurity学习
    自定义线程池配置类
    雅虎的工程师团队给出的35个web开发最佳实践
  • 原文地址:https://www.cnblogs.com/joejs/p/6728144.html
Copyright © 2011-2022 走看看