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

Compiles although prebuild available #100

Open
fishbone1 opened this issue Oct 22, 2020 · 1 comment
Open

Compiles although prebuild available #100

fishbone1 opened this issue Oct 22, 2020 · 1 comment

Comments

@fishbone1
Copy link

I run npm ci -dd for my electron project and I can see that node-gyp-build starts compiling although there is a prebuild. There is an error message before:

npm info lifecycle [email protected]~install: [email protected]

> [email protected] install /.../myapp/node_modules/ffi-napi
> node-gyp-build

node: ../deps/uv/src/unix/core.c:178: uv_close: Assertion `0' failed.
Aborted (core dumped)

gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/usr/bin/node',
gyp verb cli '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild'
gyp verb cli ]

Originally I thought it's a problem with node-gyp-build. But this comment in my original issue suggests that there is a bug in node-ffi-napi.

@walsub
Copy link

walsub commented Dec 29, 2021

+1 even though prebuilt binaries are available, since npm install compiles node-ffi-napi and build directory is created and includes re-compiled binary for arch/os of runtime environment, prebuilt binaries would not be used.

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