Skip to content

Error: socket hang up #22453

@taoqf

Description

@taoqf

I Could install some modules like ccap under 10.8 and 10.9, ok under 10.7

npm install ccap 

> ccap@0.6.10 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!

> ccap@0.6.10 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 daoke@1.0.2018 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ccap@0.6.10 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ccap@0.6.10 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

is this a issue with ccap?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wrong repoIssues that should be opened in another repository.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions