ClosureCompiler.js icon indicating copy to clipboard operation
ClosureCompiler.js copied to clipboard

[email protected] install error

Open leonfeifei0 opened this issue 9 years ago • 5 comments

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

leonfeifei0 avatar Dec 24 '16 07:12 leonfeifei0

I think it was a network issue. It seems they cannot download compiler-latest.tar.gz from https://dl.google.com/closure-compiler/compiler-latest.tar.gz because of the bad network status.

highdev2016 avatar Jul 05 '17 14:07 highdev2016

i got this error...

acenodie avatar Dec 04 '17 13:12 acenodie

was this solved?

AnaghaAsok avatar Jan 16 '18 04:01 AnaghaAsok

Yes, It was a network issue.

highdev2016 avatar Jan 16 '18 23:01 highdev2016

Thanks. So how do I solve it? Trying in a different network?

AnaghaAsok avatar Jan 18 '18 08:01 AnaghaAsok