How can I reduce risk of build failure due to intermittent ECONNRESET?
We use maven + frontend plugin with nodeVersion v0.12.1, npmVersion>2.14.12 and see these kinds of errors every so often (maybe 1 x per week).
- Should I update the version of frontend, node, npm?
- add settings to NPM call to alter timeout or retry?
- configure local cache for github projects?
Thanks for the help.
error
[INFO] --- frontend-maven-plugin:0.0.24:npm (install npm) @ sonar --- [INFO] Running 'npm install --color=false' in D:\builds\build-dir\TRUNK-QUICKCOMPILEWINDOWS-JOB1\modules\sonar\src\frontend [ERROR] npm ERR! Windows_NT 6.1.7601 [ERROR] npm ERR! argv "D:\\builds\\build-dir\\TRUNK-QUICKCOMPILEWINDOWS-JOB1\\modules\\sonar\\src\\frontend\\node\\node" "D:\\builds\\build-dir\\TRUNK-QUICKCOMPILEWINDOWS-JOB1\\modules\\sonar\\src\\frontend\\node\\npm\\bin\\npm-cli.js" "install" "--color=false" [ERROR] npm ERR! node v0.12.1 [ERROR] npm ERR! npm v2.5.1 [ERROR] npm ERR! code ECONNRESET [ERROR] npm ERR! errno ECONNRESET [ERROR] npm ERR! syscall read [ERROR] [ERROR] npm ERR! network read ECONNRESET [ERROR] npm ERR! network This is most likely not a problem with npm itself [ERROR] npm ERR! network and is related to network connectivity. [ERROR] npm ERR! network In most cases you are behind a proxy or have bad network settings. [ERROR] npm ERR! network [ERROR] npm ERR! network If you are behind a proxy, please make sure that the [ERROR] npm ERR! network 'proxy' config is set properly. See: 'npm help config' [ERROR] npm ERR! Windows_NT 6.1.7601 [ERROR] npm ERR! argv "D:\\builds\\build-dir\\TRUNK-QUICKCOMPILEWINDOWS-JOB1\\modules\\sonar\\src\\frontend\\node\\node" "D:\\builds\\build-dir\\TRUNK-QUICKCOMPILEWINDOWS-JOB1\\modules\\sonar\\src\\frontend\\node\\npm\\bin\\npm-cli.js" "install" "--color=false" [ERROR] npm ERR! node v0.12.1 [ERROR] npm ERR! npm v2.5.1 [ERROR] npm ERR! code ECONNRESET [ERROR] npm ERR! errno ECONNRESET [ERROR] npm ERR! syscall read [ERROR] [ERROR] npm ERR! network read ECONNRESET
Aucun commentaire:
Enregistrer un commentaire