Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

[email protected] install error #54

Open
leonfeifei0 opened this issue Dec 24, 2016 · 5 comments
Open

[email protected] install error #54

leonfeifei0 opened this issue Dec 24, 2016 · 5 comments

Comments

@leonfeifei0
Copy link

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

@highdev2016
Copy link

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.

@acenodie
Copy link

acenodie commented Dec 4, 2017

i got this error...

@AnaghaAsok
Copy link

was this solved?

@highdev2016
Copy link

Yes, It was a network issue.

@AnaghaAsok
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants