Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

npm - get compatible node.js versions using command line #21047

Open
1 of 5 tasks
ORESoftware opened this issue Jun 22, 2018 · 0 comments
Open
1 of 5 tasks

npm - get compatible node.js versions using command line #21047

ORESoftware opened this issue Jun 22, 2018 · 0 comments

Comments

@ORESoftware
Copy link

ORESoftware commented Jun 22, 2018

I'm opening this issue because:

  • npm is crashing.
  • npm is producing an incorrect install.
  • npm is doing something I don't understand.
  • npm is producing incorrect or undesirable behavior.
  • Other (see below for feature requests):

What's going wrong?

It would be a nice feature of npm to output compatible node.js versions, something like:

$ npm --node-compatible --json

[
 "10.0.0",
 "10.0.1",
 "10.1.0",
 "10.2.0"
]

or what not. I have noticed that certain npm versions don't work with certain node.js versions. the incompatibilities aren't always super apparent, and sometimes npm exits early with an error saying node.js version is incompatible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant