Skip to content

Error: socket hang up #1452

Closed
Closed
@taoqf

Description

@taoqf
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions