Skip to content

Cannot install tools due to nodegit install failing #14

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
julianrex opened this issue Jun 22, 2018 · 2 comments
Closed

Cannot install tools due to nodegit install failing #14

julianrex opened this issue Jun 22, 2018 · 2 comments

Comments

@julianrex
Copy link
Contributor

Attempting to install via npm install -g @mapbox/github-release-tools results in the following error when trying to install nodegit:

~ julianrex$ npm install nodegit

> [email protected] install /Users/julianrex/node_modules/nodegit
> node lifecycleScripts/preinstall && node lifecycleScripts/install

[nodegit] Running pre-install script
[nodegit] Configuring libssh2.
[nodegit] Running install script
node-pre-gyp
ERR! Tried to download(404): https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.22.1-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp)

The source compilation eventually fails with compile errors (and warnings), for example:

CC(target) Release/obj.target/libssh2/vendor/libssh2/src/openssl.o
../vendor/libssh2/src/openssl.c:71:11
: error: incomplete definition of type 'struct rsa_st'
    (*rsa)->e = BN_new();
    ~~~~~~^

[lines deleted]

npm ERR! Failed at the [email protected] install script.

[lines deleted]
@julianrex
Copy link
Contributor Author

FYI @fabian-guerra

@julianrex
Copy link
Contributor Author

Appears related to nodegit/nodegit#1490

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

1 participant