Open liqingyun-1991 opened 7 years ago
silly fetchPackageMetaData Error: Exceeded maxRedirects. Probably stuck in a redirect loop
263 error Windows_NT 6.1.7601 264 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" 265 error node v7.3.0 266 error npm v3.10.10 267 error Exceeded maxRedirects. Probably stuck in a redirect loop http://10.3.76.100/ac_portal/proxy.html?template=zte_webauth&tabs=pwd&vlanid=0&url=http://10.3.76.100%2fac_portal%2fproxy.html%3ftemplate%3dzte_webauth%26tabs%3dpwd%26vlanid%3d0%26url%3dhttp%3a%2f%2f10.3.76.100%252fac_portal%252fproxy.html%253ftemplate%253dzte_webauth%2526tabs%253dpwd%2526vlanid%253d0%2526url%253dhttp%253a%252f%252f10.3.76.100%25252fac_portal%25252fproxy.html%25253ftemplate%25253dzte_webauth%252526tabs%25253dpwd%252526vlanid%25253d0%252526url%25253dhttp%25253a%25252f%25252f10.3.76.100%2525252fac_portal%2525252fproxy.html%2525253ftemplate%2525253dzte_webauth%25252526tabs%2525253dpwd%25252526vlanid%2525253d0%25252526url%2525253dhttp%2525253a%2525252f%2525252f10.3.76.100%252525252fac_portal%252525252fproxy.html%252525253ftemplate%252525253dzte_webauth%2525252526tabs%252525253dpwd%2525252526vlanid%252525253d0%2525252526url%252525253dhttp%252525253a%252525252f%252525252f10.3.76.100%25252525252fac_portal%25252525252fproxy.html%25252525253ftemplate%25252
You can limit the number of redirects, using the request library.
request
silly fetchPackageMetaData Error: Exceeded maxRedirects. Probably stuck in a redirect loop
263 error Windows_NT 6.1.7601 264 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" 265 error node v7.3.0 266 error npm v3.10.10 267 error Exceeded maxRedirects. Probably stuck in a redirect loop http://10.3.76.100/ac_portal/proxy.html?template=zte_webauth&tabs=pwd&vlanid=0&url=http://10.3.76.100%2fac_portal%2fproxy.html%3ftemplate%3dzte_webauth%26tabs%3dpwd%26vlanid%3d0%26url%3dhttp%3a%2f%2f10.3.76.100%252fac_portal%252fproxy.html%253ftemplate%253dzte_webauth%2526tabs%253dpwd%2526vlanid%253d0%2526url%253dhttp%253a%252f%252f10.3.76.100%25252fac_portal%25252fproxy.html%25253ftemplate%25253dzte_webauth%252526tabs%25253dpwd%252526vlanid%25253d0%252526url%25253dhttp%25253a%25252f%25252f10.3.76.100%2525252fac_portal%2525252fproxy.html%2525253ftemplate%2525253dzte_webauth%25252526tabs%2525253dpwd%25252526vlanid%2525253d0%25252526url%2525253dhttp%2525253a%2525252f%2525252f10.3.76.100%252525252fac_portal%252525252fproxy.html%252525253ftemplate%252525253dzte_webauth%2525252526tabs%252525253dpwd%2525252526vlanid%252525253d0%2525252526url%252525253dhttp%252525253a%252525252f%252525252f10.3.76.100%25252525252fac_portal%25252525252fproxy.html%25252525253ftemplate%25252