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

FEATURE: check node version before running #104

Open
inigomarquinez opened this issue Sep 18, 2023 · 2 comments
Open

FEATURE: check node version before running #104

inigomarquinez opened this issue Sep 18, 2023 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@inigomarquinez
Copy link
Member

Detailed Description

It would be good to check if the user is running the package with an allowed nodejs version and throw an error message otherwise.

Context

As the license-checker could start using node features not supported by old node version, it's important for the user to know if they can run it or not with their current node version.

Possible Implementation

Using this package: https://www.npmjs.com/package/please-upgrade-node

Example of a library using it: https://github.com/typicode/json-server/blob/master/src/cli/bin.js

@inigomarquinez inigomarquinez added the enhancement New feature or request label Sep 18, 2023
@inigomarquinez inigomarquinez added this to the 2023 Q4 milestone Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants
@inigomarquinez and others