NES.css icon indicating copy to clipboard operation
NES.css copied to clipboard

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

Open algoritmau opened this issue 2 years ago • 4 comments

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.

algoritmau avatar Oct 12 '21 13:10 algoritmau

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

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

shanethmoore avatar Oct 13 '21 15:10 shanethmoore

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.

joshephan avatar Feb 10 '22 08:02 joshephan

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?

icyJoseph avatar Mar 16 '22 15:03 icyJoseph

Pretty sad it's still an issue in 2023 https://github.com/nostalgic-css/NES.css/commit/cefe57ba6f1e652e5cc6d37789c01e1c3d0a785d

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

edify42 avatar Nov 27 '23 10:11 edify42