question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add prebuilt binaries for nodejs 18 LTS

See original GitHub issue

nodejs 18 has just been moved to active LTS and we have just realised there were no prebuilt binaries after upgrading as per snippet below:

npm ERR! node-pre-gyp info using node@18.12.0 | linux | x64
npm ERR! node-pre-gyp info check checked for "/home/node/e2e/node_modules/node-libcurl/lib/binding/node_libcurl.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/JCMais/node-libcurl/releases/download/v2.3.4/node_libcurl-v2.3.4-node-v108-linux-x64-glibc.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/JCMais/node-libcurl/releases/download/v2.3.4/node_libcurl-v2.3.4-node-v108-linux-x64-glibc.tar.gz 
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for node-libcurl@2.3.4 and node@18.12.0 (node-v108 ABI, glibc) (falling back to source compile with node-gyp) 
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/JCMais/node-libcurl/releases/download/v2.3.4/node_libcurl-v2.3.4-node-v108-linux-x64-glibc.tar.gz 

Would it be possible to have prebuilt binaries for 18 as well? That would be appreciated, thanks.

I could create a PR if the changes for 18 are similar to https://github.com/JCMais/node-libcurl/commit/4844420ff81ce40d7f99726c9c614aab27d76eaf if you prefer

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
JCMaiscommented, Oct 29, 2022

@bchew I am working on this. I will increase the major version as it will require an upgrade of nan and node-gyp tho. This basically means requiring Python 3 and ubuntu >= 20.04 if you are using linux.

2reactions
JCMaiscommented, Nov 8, 2022

@bchew there is a new pre-release version v3.0.0-0 available with prebuilt binaries for Node.js 18, do you mind giving it a try? (keep in mind some of the binaries are still being built atm, so it may take a while until all of them are available)

Unfinished changelog here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node v18.12.0 (LTS)
Node.js ® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Read more >
Node.js 18 is now available!
Node.js provides pre-built binaries for several different platforms. For each major release, the minimum toolchains are assessed and raised ...
Read more >
Download - Node.js
Latest LTS Version: 18.12.1 (includes npm 8.19.2). Download the Node.js source code or a pre-built installer for your platform, and start developing today....
Read more >
Installing Node.js via package manager
Node.js LTS and npm packages are available in the Main Repository. apk add nodejs npm. Node.js Current can be installed from the Community...
Read more >
Node v10.18.0 (LTS)
Node.js ® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found