求助安装formidable出错!
发布于 10 年前 作者 yunfei 4874 次浏览 最后一次编辑是 8 年前

npm install formidable 报错如下: 22 http GET https://registry.npmjs.org/formidable 23 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 24 info trying registry request attempt 2 at 19:59:49 25 http GET https://registry.npmjs.org/formidable 26 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 27 info trying registry request attempt 3 at 20:01:01 28 http GET https://registry.npmjs.org/formidable 29 silly lockFile fedfde19-formidable formidable@ 30 silly lockFile fedfde19-formidable formidable@ 31 error network getaddrinfo ENOTFOUND 31 error network This is most likely not a problem with npm itself 31 error network and is related to network connectivity. 31 error network In most cases you are behind a proxy or have bad network settings. 31 error network 31 error network If you are behind a proxy, please make sure that the 31 error network ‘proxy’ config is set properly. See: 'npm help config’ 32 error System Windows_NT 6.1.7600 33 error command “C:\Program Files\nodejs\\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “install” "formidable" 34 error cwd C:\Users\yunfei 35 error node -v v0.10.28 36 error npm -v 1.4.9 37 error syscall getaddrinfo 38 error code ENOTFOUND 39 error errno ENOTFOUND 40 verbose exit [ 1, true ]

回到顶部