npm ERR!代码EMAXREDIRECT npm ERR!达到的最大重定向

时间:2019-01-18 07:23:24

标签: node.js angularjs npm

每当我运行npm命令时,都会出现以下错误。我落后于组织代理人

这是日志

0个信息,如果以“ ok”结尾则有效

1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   '@angular/cli' ]
2 info using npm@6.5.0-next.0
3 info using node@v11.6.0
4 verbose npm-session 2ced9186f1021ad1
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for @angular/cli@latest maximum redirect reached at: http://home.****.intranet/sites/knowledgetree/SitePages/homepage.aspx
8 timing stage:rollbackFailedOptional Completed in 1ms
9 timing stage:runTopLevelLifecycles Completed in 2453ms
10 verbose stack Error: maximum redirect reached at: http://home.****.intranet/sites/knowledgetree/SitePages/homepage.aspx
10 verbose stack     at fetch.then.res (C:\Program Files\nodejs\node_modules\npm\node_modules\make-fetch-happen\index.js:404:25)
10 verbose stack     at process.internalTickCallback (internal/process/next_tick.js:77:7)
11 verbose cwd C:\Program Files\nodejs
12 verbose Windows_NT 6.1.7601
13 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "@angular/cli"
14 verbose node v11.6.0
15 verbose npm  v6.5.0-next.0
16 error code EMAXREDIRECT
17 error maximum redirect reached at: http://home.****.intranet/sites/knowledgetree/SitePages/homepage.aspx
18 verbose exit [ 1, true ]

0 个答案:

没有答案