-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Node v10.0.0 error Found incompatible module, upath@1.0.4: The engine "node" is incompatible with this module. Expected version ">=4 <=9" #1637
Comments
Looks like this issue has been addressed / fixed in facebook/create-react-app#4367 |
Either way, "engines" is advisory; yarn shouldn't be failing on it. |
Yep, I didn't want to use "engines" - that's just a messy workaround. Instead, the proper solution is to delete After doing this, the original command is now working: |
@jhbsk, I followed instructions but still getting the same error with
|
which would lead to forgetting all the locked versions and potentially upgrading the libraries? |
@paneq - exactly; it's not a viable solution for me, as I work with a large team and we can't just be deleting the |
Very good points @paneq & @kahboom. The problem is caused by So you might just be able to get away with updating webpack with:
This should cause all the dependencies to be updated, but I've not tried it so do let me know how it goes! |
@kahboom @jhbsk Here is a trick I learned recently: Find
in Run Watch how only this 1 package got upgraded to:
:-) |
@paneq Thanks for this. I noticed that you can also delete yarn.lock and run yarn again. |
@joonhocho Please see this comment #1637 (comment) and try to recall why we use yarn and yarn.lock in the first place? Perhaps to remember all locked versions of packages which get lost when you remove yarn.lock ? |
Or you can always downgrade to older version of node earlier than 9 |
@paneq thanks a lot , it solves my problem |
@paneq unbelivable - you mad my day!
|
@paneq thanks a lot , it solves my problem |
can't we just use yup, it works. (on yarn) |
hi i am deploying on server with jenkins and i got this error.should i edit yarn.lock and commit in pipeline? |
I just updated my node.
and it works. |
Current behavior
Trying to install enzyme with the command
yarn add enzyme enzyme-adapter-react-16 --dev
fails in my environment with the following error:The deprecation warning is a separate / unrelated issue which started recently after upgrading to Yarn v1.6.0.
Expected behavior
Should be able to install enzyme with enzyme-adapter-react-16 successfully
Your environment
Version
Adapter
The text was updated successfully, but these errors were encountered: