miguelcobain / ember-paper

The Ember approach to Material Design.
http://miguelcobain.github.io/ember-paper
MIT License
889 stars 332 forks source link

yarn node version error after updating to beta 27 #1124

Closed boydkr closed 4 years ago

boydkr commented 4 years ago

It looks like angular-material-styles got updated from 1.1.18 to 1.1.20, and yarn now gives an error about the node version:

angular-material-styles@1.1.20: The engine "node" is incompatible with this module. Expected version ">=8 <12". Got "12.12.0"

This is not technically in the ember-paper project, but I'm not even sure where to report such an issue in angular-material-styles. It seems odd that updating the version would reduce compatibility with newer versions of node.

The workaround is calling yarn install --ignore-engines, but that is super annoying

miguelcobain commented 4 years ago

angular-material-styles is an npm package that I own. It is basically a copy of the angular material source code, but on npm (they refuse to release it on npm). We use the scss files from that package. I just need to groom it a little bit. Add unnecessary stuff to the .npmignore file and remove the engines check. After that, I`ll update the dependency on ember-paper and release a new version.

miguelcobain commented 4 years ago

1.0.0-beta.28 should have this fixed.