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

Yarn install fails due to engine mismatch with electrode-electrify-react-component and sw-precache-webpack-plugin #390

Open
tbohlen opened this issue Mar 24, 2017 · 1 comment

Comments

@tbohlen
Copy link

tbohlen commented Mar 24, 2017

When using yo electrode to generate a new app, the resulting dependencies have an engine mismatch error that prevents yarn install from working.

Using node v6, the install fails because electrode-electrify-react-compontent (dependency tree: electrode-archetype-react-app-dev -> electrode-webpack-reporter -> electrode-electrify-react-component) lists node ^4.2.6 under engines.

Sadly, if I switch to node 4, install fails because sw-precache-webpack-plugin (also required by electrode-archetype-react-app-dev) lists node >5 under engines

The way around this is to use yarn install --ignore-engines, but it would be much nicer if electrode-electrify-react-component could just allow for node 6. Is that change possible?

(Feel free to move to electrode repo, if desired.)

@bodawei
Copy link

bodawei commented May 9, 2017

I just filed a similar issue at electrode-io/electrode#325 . But then noticed that there'd been a recent upgrade to electrode. When I upgraded everything, the error went away for me (I'm not sure yet what changed). electrode-electrify-react-component still has the fundamental issue ( see electrode-io/electrode-electrify#26 and electrode-io/electrode-electrify#27 )

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

2 participants