Open Jackfinal opened 6 years ago
What's the proxy config you're using?
` npm config ls ; cli configs metrics-registry = "https://registry.npm.taobao.org/" scope = "" user-agent = "npm/5.6.0 node/v8.10.0 win32 x64"
; userconfig C:\Users\a.npmrc config = "registry" proxy = null registry = "https://registry.npm.taobao.org/" strict-ssl = false
; builtin config undefined prefix = "C:\Users\a\AppData\Roaming\npm"
; node bin location = D:\Program Files\nodejs\node.exe ; cwd = E:\javascript\zhangjianVue ; HOME = C:\Users\a ; "npm config ls -l" to show all defaults.
`
@Jackfinal that's weird. Try npm config delete proxy
and try again. I'll leave this issue open because we should still not be crashing when a value like that makes it in.
Could you also do: $ node -p 'Object.keys(process.env).filter(k => k.match(/term/i)).map(k => [k, process.env[k]])
in your terminal and tell me what that says?
i have a mistake, it’s config set registry,when it’s http://registry.npm.taobao.org/. The question will be come ,it’s https://registry.npm.taobao.org/ that is ok.
i have a mistake, it’s config set registry,when it’s http://registry.npm.taobao.org/. The question will be come ,it’s https://registry.npm.taobao.org/ that is ok.
did changing your registry url to be https fix it?
node -v
v8.10.0
npm -v
'5.6.0' windows7 64npm install
debug output
i reset node , it's a errors all the time,please help me, i am particularly grateful to you for your timely help.thanks you very much!