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

package.json's engines field having "Node >= 10.0.0" prevents installation with Node 16.9.1 #469

Open
algoritmau opened this issue Oct 12, 2021 · 4 comments

Comments

@algoritmau
Copy link

Describe the bug
Unable to install via yarn (1.22.11) having Node 16.9.1

To Reproduce

  1. Install Node 16.9.1
  2. Install Yarn 1.22.11
  3. Attempt to install ness.css via Yarn
  4. See error in console

Expected behavior
Package is installed successfully.

Screenshots
Screen Shot 2021-10-12 at 8 34 49 AM

Environment:

  • OS: macOS
  • Browser: N/A
  • Build environment (i.e. NodeJS): N/A (Not building)

Suggestion(s) for fixing this issue
Either remove the engine field from package.json or update it accordingly.

Additional context
None.

@shanethmoore
Copy link

shanethmoore commented Oct 13, 2021

Workaround which worked for me short term, when adding the package, add the flag --ignore-engines.

EG yarn add nes.css --ignore-engines.

@joshephan
Copy link

I have same problem. yarn add nes.css --ignore-engines is working well on local but on AWS Amplify or Netlify is not working. I think --ignore-engines is not enough solution.

@icyJoseph
Copy link

This has apparently been fixed, but its not yet released. I wonder if there's anything we can do to help on releasing a new version?

@edify42
Copy link

edify42 commented Nov 27, 2023

Pretty sad it's still an issue in 2023
cefe57b

The above commit was the last change to the engine key in the package.json file

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

5 participants