Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install #1072

Closed
SumNeuron opened this issue May 16, 2018 · 4 comments
Closed

Can not install #1072

SumNeuron opened this issue May 16, 2018 · 4 comments

Comments

@SumNeuron
Copy link

npm install -g documentation

npm ERR! code EPROTO
npm ERR! errno EPROTO
npm ERR! request to https://registry.npmjs.org/documentation failed, reason: write EPROTO 140411807999808:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:252:
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!    ~/.npm/_logs/2018-05-16T12_24_57_263Z-debug.log

@tmcw
Copy link
Member

tmcw commented May 16, 2018

Please specify:

  • What version of node and npm you're using, how you installed them, and what operating system you're using
  • Please try installing another package (like eslint) and seeing if that works.

Unfortunately, I strongly suspect that your node/npm installation is broken in general, not just for documentation.js.

@SumNeuron
Copy link
Author

versions

npm -v
5.6.0

node -v
v10.0.0

nodejs -v
v4.2.6

installed via

sudo apt-get install

eslint works

@tmcw
Copy link
Member

tmcw commented May 16, 2018

Sorry, looks like this might be this npm issue - perhaps a misconfigured proxy, or similar to this issue, also about a proxy. The error is happening before documentation.js is even fetched from npm, so it's not anything we could fix on our side - you'll need to tinker with potentially fixing a proxy, or filing an issue with npm.

@tmcw tmcw closed this as completed May 16, 2018
@SumNeuron
Copy link
Author

This did seem to be proxy related.
Thank you and sorry for missing this.

Running now gives me the same fs.js:1024 throw new ERROR_OUT_OF_RANGE( error...

see #1068

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

No branches or pull requests

2 participants