Error reporting solution
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/node-releases: 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\rain\AppData\Local\npm-cache\_logs\2022-02-28T07_09_06_205Z-debug-0.log
Today, when installing the webpack package, I found the following problems:
First step operation
npm install webpack webpack-cli --global
Perform step 2 after reporting an error
npm install rxjs
Perform the third step
npm install webpack webpack-cli --global
npm run dev successfully: %s
Read More:
- ‘webpack dev server’ is not an internal or external command, nor is it a runnable program or batch file. Solution: error in cnpm run dev:
- [Solved] Vue cli installation Fastclick Error
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- [Solved] Vue Error: Error: Rule can only have one resource source (provided resource and test + include + ex
- [Solved] Vue Use gzip Package Error: Rule can only have one resource source
- Vue init webpack Error: unable to verify the first certificate
- [Solved] Vue Start Project Error: ValidationError: webpack Dev Server Invalid Options
- [Solved] Webpack compile error: SyntaxError: Unexpected token =
- Error: Rule can only have one resource source (provided resource and test + include + exclude)
- Vue Use ‘npm run dev’ Error: Error: Unknown option ‘–inline‘ [How to Solve]
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- Vue-cli Failed to download repo vuejs-templates/webpack [How to Solve]
- npm ERR code ELIFECYCLE [How to Solve]
- Vue scaffold creation project and run error [Solved]
- Vue Install less Error: While resolving: [email protected]
- Vue Package Image Error: Syntax Error: Error: ‘**\node_modules\pngquant-bin\vendor\pngquant.exe‘
- “Failed to load resource: net::ERR_FILE_NOT_FOUND” error. The project created by vue-cli 3.0 can run under dev, and an error is reported after packaging, and the page is blank.
- Javascript: js websocket disconnected reconnect library ReconnectingWebSocket
- Cannot read property ‘isFile‘ of undefined [How to Solve]
- Vue installation @ Vue/cli error: npmerr gyp err