zoukankan      html  css  js  c++  java
  • npm 安装报错 401

    背景:

    切换私有源提示:

    npm ERR! code E401

    npm ERR! Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"

    解决方法:

    1、输入 npm config list 获取 npm 配置

    2、找到 userconfig 一项

    3、打开 .npmrc 文件

    4、删除已配置的私有源地址和 NpmToken

    5、重新配置私有源

     转载自:https://www.cnblogs.com/icebreaker/p/13359599.html

  • 相关阅读:
    day69test
    day70test
    day71test
    ymfx
    day71
    day69
    day70
    day70test
    day65——day69
    c语言解决函数变参数问题 va_list
  • 原文地址:https://www.cnblogs.com/hanchongyang/p/13924901.html
Copyright © 2011-2022 走看看