Skip to content

Error: socket hang up #1452

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

Closed
taoqf opened this issue Aug 24, 2018 · 4 comments
Closed

Error: socket hang up #1452

taoqf opened this issue Aug 24, 2018 · 4 comments

Comments

@taoqf
Copy link

taoqf commented Aug 24, 2018

  • Node.js Version:10.9.0
  • OS: Linux 4.9.0-7-amd64 Update README for help #1 SMP Debian 4.9.110-3+deb9u1 (2018-08-03) x86_64 GNU/Linux
  • Scope (install, code, runtime, meta, other?): install
  • Module (and version) (if relevant):ccap
npm install ccap 

> [email protected] preinstall /home/taoqf/gitee/feidaokj/self_sell/node_modules/ccap
> node make.js

I'm glad you to select ccap, enjoy it!

ccap is a cross plat form and portable nodejs simple captcha module, simple api and lightweight.

starting compile ccap! good luck!

> [email protected] install /home/taoqf/gitee/feidaokj/self_sell/node_modules/ccap
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack Error: socket hang up
gyp ERR! stack     at createHangUpError (_http_client.js:322:15)
gyp ERR! stack     at Socket.socketOnEnd (_http_client.js:425:23)
gyp ERR! stack     at Socket.emit (events.js:187:15)
gyp ERR! stack     at endReadableNT (_stream_readable.js:1085:12)
gyp ERR! stack     at process._tickCallback (internal/process/next_tick.js:63:19)
gyp ERR! System Linux 4.9.0-7-amd64
gyp ERR! command "/home/taoqf/.nvm/versions/node/v10.9.0/bin/node" "/home/taoqf/.nvm/versions/node/v10.9.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/taoqf/gitee/feidaokj/self_sell/node_modules/ccap
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok 
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/taoqf/.npm/_logs/2018-08-22T02_50_27_159Z-debug.log

nodejs/node#22453

@gireeshpunathil
Copy link
Member

it worked for me, probably it is a transient error due to network issues, can you retry?

@taoqf
Copy link
Author

taoqf commented Sep 25, 2018

It may be the network issues, it's gone now.

@gireeshpunathil
Copy link
Member

thanks, closing then.

@taoqf
Copy link
Author

taoqf commented Sep 25, 2018

OK, but I can give a clue: it works fine on 10.7.0 under same network.

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