npm behind a proxy fails with status 403

前端 未结 9 1276
野趣味
野趣味 2020-12-04 07:24

I\'m trying to run npm behind a proxy. I\'ve tried both entering the proxy directly or through Authoxy:

npm config set proxy http://localho         


        
9条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-04 07:56

    Due to security violations, organizations may have their own repositories.

    set your local repo as below.

    npm config set registry https://yourorg-artifactory.com/

    I hope this will solve the issue.

提交回复
热议问题