nostalgic-css / NES.css

NES-style CSS Framework | ファミコン風CSSフレームワーク
https://nostalgic-css.github.io/NES.css/
MIT License
20.47k stars 1.64k forks source link

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

Open algoritmau opened 2 years ago

algoritmau commented 2 years ago

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:

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

Additional context None.

shanethmoore commented 2 years ago

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

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

joshephan commented 2 years ago

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 commented 2 years ago

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 commented 7 months ago

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