代码编织梦想

npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache_logs\2022-11-20T06_45_41_420Z-debug-0.log
PS D:\cisproject\cisproject> npm config get registry
https://registry.npmjs.org/
PS D:\cisproject\cisproject> npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE required: { node: ‘^0.10’, npm: ‘^1.4.6’ },
npm WARN deprecated runjs@4.4.2: This project has been renamed to ‘tasksfile’. Install using ‘npm install tasksfile’ instead.
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! network request to https://registry.npmjs.org/json5/-/json5-0.5.1.tgz failed, reason: Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache_logs\2022-11-20T08_06_16_098Z-debug-0.log
PS D:\cisproject\cisproject> npm config get registry
https://registry.npmjs.org/
PS D:\cisproject\cisproject> npm config set registry https://registry.npmmirror.com
PS D:\cisproject\cisproject> npm config get registry
https://registry.npmmirror.com/
PS D:\cisproject\cisproject> npm install

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/remzhang/article/details/127950382