Description
On ubuntu 14 system i install 1.6,1 by command npm -g install closurecompiler
get error info:
/usr/bin/ccjs -> /usr/lib/node_modules/closurecompiler/bin/ccjs
[email protected] install /usr/lib/node_modules/closurecompiler
npm run-script configure
[email protected] configure /usr/lib/node_modules/closurecompiler
node scripts/configure.js
Configuring ClosureCompiler.js 1.6.1 ...
Downloading https://dl.google.com/closure-compiler/compiler-latest.tar.gz ...
✖ Download failed: Error: read ECONNRESET
✖ Unfortunately, ClosureCompiler.js could not be configured.
See: https://github.com/dcodeIO/ClosureCompiler.js (create an issue maybe)
npm ERR! Linux 3.13.0-100-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run-script" "configure"
npm ERR! node v6.9.2
npm ERR! npm v4.1.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] configure: node scripts/configure.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] configure script 'node scripts/configure.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the closurecompiler package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/configure.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs closurecompiler
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls closurecompiler
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/lib/node_modules/closurecompiler/npm-debug.log
npm ERR! Linux 3.13.0-100-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "-g" "install" "closurecompiler"
npm ERR! node v6.9.2
npm ERR! npm v4.1.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: npm run-script configure
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'npm run-script configure'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the closurecompiler package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run-script configure
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs closurecompiler
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls closurecompiler
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /webrtc/apprtc/npm-debug.log
how to fix this ? i have no idea help thks