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

gyp ERR! stack Error: read ECONNRESET #188

Open
spursy opened this issue Mar 1, 2019 · 1 comment
Open

gyp ERR! stack Error: read ECONNRESET #188

spursy opened this issue Mar 1, 2019 · 1 comment

Comments

@spursy
Copy link

spursy commented Mar 1, 2019

When I build the docker image in the server, I have the followed issue. I suspect that is due to internet issue.

  • My server has internet restriction, what ip should I add into white ip list.
  • My server is linux
> [email protected] install /home/node/bi-nodesrv-doctor/node_modules/scrypt
> node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack Error: read ECONNRESET
gyp ERR! stack     at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
gyp ERR! System Linux 4.15.0-43-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/node/bi-nodesrv-doctor/node_modules/scrypt
gyp ERR! node -v v10.15.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm WARN [email protected] requires a peer of mocha@>=1.18 <6 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

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.

@chrisveness
Copy link

chrisveness commented Mar 1, 2019

@spursy this repo is no longer maintained: scrypt-kdf is a very close replacement, providing a (promise-based) zero-dependency wrapper around the native Node.js crypto OpenSSL implementation of scrypt, which you might be able to use as a replacement for the .kdf() / .verifyKdf() methods.

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