Skip to content

support "yarn global add leap-node" with node -v >= 12 #346

@johba37

Description

@johba37

Bounty Description:

when running yarn global add leap-node the expected out is successful install. With node versions >= 12. the following output is observed:

...
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/johba/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/johba/.nvm/versions/node/v12.13.0/bin/node" "/Users/johba/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/johba/.config/yarn/global/node_modules/scrypt

Scope

  • fix code or dependencies so that install with node -v > 12 passes successfully on linux and OSX

Gain for the project

  • support broader stack and reduce frustration during installation

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions