NES.css
NES.css copied to clipboard
`package.json`'s `engines` field having `"Node >= 10.0.0"` prevents installation with Node 16.9.1
Describe the bug Unable to install via yarn (1.22.11) having Node 16.9.1
To Reproduce
- Install Node 16.9.1
- Install Yarn 1.22.11
- Attempt to install ness.css via Yarn
- See error in console
Expected behavior Package is installed successfully.
Screenshots
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.
Workaround which worked for me short term, when adding the package, add the flag --ignore-engines
.
EG yarn add nes.css --ignore-engines
.
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.
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?
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