You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version 3.0.0 looks great, and thank you for all the improvements.
However, one thing that changed is the engines definition in package.json. When attempting to install with yarn, it refuses to install if you're not using node 12.
This can be worked around with the --ignore-engines flag, but it's not clear whether requiring v12 is absolutely necessary. I think at least v10 should be allowed as well.
$ yarn add react-diff-viewer
yarn add v1.21.1
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version "^12". Got "10.17.0"
error Found incompatible module.
The text was updated successfully, but these errors were encountered:
The latest version 3.0.0 looks great, and thank you for all the improvements.
However, one thing that changed is the
engines
definition inpackage.json
. When attempting to install with yarn, it refuses to install if you're not using node 12.This can be worked around with the
--ignore-engines
flag, but it's not clear whether requiring v12 is absolutely necessary. I think at least v10 should be allowed as well.The text was updated successfully, but these errors were encountered: