As many know there has been some issues lately with the upgrade to react 17 where some packages will have react 16 as dependency while others have react 17. I have this in my project for a couple packages, and it causes npm install
to fail unless the --legacy-peer-deps
flag is added. Is there anyway I can add this flag to the npm install
phase of the eas build?
The easiest workaround is to use node
version 14
.
1 Like
Yup this worked. Thanks!
Here’s how you can add --legacy-peer-deps
:
1 Like
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.