webpack3.6.0安装request to htttp://registry.npmjs.org/webpack failed,reason:connect ETIMEDOUT 104.16.2

npm install [email protected] -g
webpack3.6.0安装request to htttp://registry.npmjs.org/webpack failed,reason:connect ETIMEDOUT 104.16.2_第1张图片
npm config set proxy null
npm config set https-proxy null
npm set registry http://registry.npmjs.org/

更换代理
npm config set registry https://registry.npm.taobao.org

C:\Users\Administrator>npm install [email protected] -g
npm WARN deprecated [email protected]: This is probably built in to wha
tever tool you're using. If you still need it... idk
npm WARN deprecated [email protected]: The querystring API is considered Legacy.
 new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates
 since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and coul
d be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: See https://github.com/lydell/sour
ce-map-resolve#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#dep
recated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprec
ated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-m
ap-url#deprecated
C:\Users\Administrator\AppData\Roaming\npm\webpack -> C:\Users\Administrator\App
Data\Roaming\npm\node_modules\webpack\bin\webpack.js

> [email protected] postinstall C:\Users\Administrator\AppData\Roaming\npm\node_mo
dules\webpack\node_modules\es5-ext
>  node -e "try{require('./_postinstall')}catch(e){}" || exit 0


> [email protected] postinstall C:\Users\Administrator\AppData\Roami
ng\npm\node_modules\webpack\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\we
bpack\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\we
bpack\node_modules\watchpack-chokidar2\node_modules\chokidar\node_modules\fseven
ts):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"
})

+ [email protected]
added 343 packages from 272 contributors, removed 53 packages and updated 16 pac
kages in 30.454s

安装成功

你可能感兴趣的:(webpack,npm,前端)