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.

Heads-up: npm may be looking to adopt node-gyp version 8.x soon

See original GitHub issue

See this comment from the engineering manager of npm: https://github.com/npm/cli/issues/2839#issuecomment-834684538

[ . . . ] when we upgrade to node-gyp@8.x in the very near future.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:17 (14 by maintainers)

github_iconTop GitHub Comments

7reactions
DeeDeeGcommented, Oct 10, 2021

node-gyp 8.2.0 is in npm 8.0.0, which is bundled with Node 16.11.0.

See the PR that bumped node-gyp in npm:

And the node-gyp dependency’s semver range ‘^8.2.0’ in npm 8.0.0’s package.json:

The PR landed to npm’s release-next branch on October 7th, and npm v8.0.0 was released about four hours later.

(I will let the maintainers decide whether to leave this issue open, or close it, etc. Consider this comment a public service announcement: node-gyp 8.2.0 is now live on a lot of people’s machines; Whoever is using the latest Node, 16.11.0 or greater, has it bundled by default.

Node 16.11.0 shipped on October 8th, and was bundled with npm 8, and thus node-gyp 8.)

2reactions
wraithgarcommented, Jul 2, 2021

Python support is a tricky question because I don’t know that we’ve ever had any “contract” for how we support something that tangential to our setup.

This repo is 88.8% Python and is 9.6% JavaScript so tangential might be the wrong word. README.md and setup.py are both quite clear about the version contract we keep.

That’s a good point, I meant tangential in the sense of what we “support” from npm. Typically it’s been about the node version. Our testing matrix tests osx, windows, and linux but not across a big range of distributions.

We do our best to support what we can, but from an npm cli standpoint this is definitely a grey area. For instance there are forms of openssh/openssl we don’t support, and dropping support for older versions did not constitute a semver major in npm in the past.

We will discuss this further in the near future, but it is looking like this isn’t going to be a blocker for us updating to node-gyp@8 in npm@7, especially considering we are going to be fixing the bug that prevents users from providing their own version if they need.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node-gyp - npm
Node.js native addon build tool. Latest version: 9.3.1, last published: a day ago. Start using node-gyp in your project by running `npm i...
Read more >
NPM install fails with node-gyp - Stack Overflow
I tried several days for this build issue, on my PC with Visual Studio 2010 / 2013 / 2015 installed, with no success....
Read more >
node-gyp - Bountysource
Heads -up: npm may be looking to adopt node-gyp version 8.x soon $ 0. Created 1 year ago in nodejs/node-gyp with 2 comments....
Read more >
A Comprehensive Guide to Fixing Node-Gyp Issues on Windows
As we begin our journey into getting node-gyp up and running, ... You can download them by running this command: npm install --global ......
Read more >
node-gyp. Why does it cause so many problems? - Reddit
json can be used to set up the packages I want in my project. I understand how npm pulls the packages and installs...
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