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

Missing binaries for Node 16, module version 93 #25

Open
chrisl8 opened this issue Nov 11, 2021 · 6 comments
Open

Missing binaries for Node 16, module version 93 #25

chrisl8 opened this issue Nov 11, 2021 · 6 comments

Comments

@chrisl8
Copy link

chrisl8 commented Nov 11, 2021

Node 16 has gone into LTS, but there are no binaries for it in the release, so using this package with Node 16 requires building locally.

@royaltm
Copy link
Owner

royaltm commented Nov 15, 2021

Yep. The problem is that node-pre-gyp-github is no longer working and I need to move to github Actions from Travis CI. Any help would be useful e.g. with examples on publishing binaries on github via github actions.

@chrisl8
Copy link
Author

chrisl8 commented Nov 22, 2021

I will add this to my To Do list to dig into it. I know absolutely nothing about Github Actions personally, but I need to learn about it and I have people I can ask for help.

@chrisl8
Copy link
Author

chrisl8 commented Jan 31, 2022

This weekend I moved a project of mine from using Travis CI to Github Actions for build testing, so now I can say that I have:

  1. Used Github Actions.
  2. Translated a project from Travis CI to Github Actions.

I will try to take a look at the Travis CI setup of this project sometime and try my hand at building a working Github Actions replacement . . . sometime.

@royaltm
Copy link
Owner

royaltm commented Feb 1, 2022

The goal is to make github action script that will not only build native modules but also publish them (make them downloadable from) as github releases and allow users to get them when they npm install the module.

@stouch
Copy link

stouch commented Aug 8, 2022

If you install the lib inside a dockerfile, check that python is installed before npm ci

RUN apk add --no-cache python3 make g++ && rm -rf /var/cache/apk/*
RUN npm ci

And if you meet this error while a gitlab-runner execution on a kubernetes cluster, I think you can refer to this : https://gitlab.com/gitlab-org/gitlab/-/issues/345402#note_1053968530

@pencilcheck
Copy link

pencilcheck commented Mar 28, 2024

Getting error due to using node v21 and heroku keep attempting to download from binary at: https://github.com/royaltm/node-murmurhash-native/releases/download/v3.5.0/murmurhash-v3.5.0-node-v120-linux-x64.tar.gz

The build also error out

command "/app/.heroku/node/bin/node" "/app/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/app/apps/server/node_modules/murmurhash-native/lib/Release/murmurhash.node" "--module_name=murmurhash" "--module_path=/app/apps/server/node_modules/murmurhash-native/lib/Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v120

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

4 participants