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
I use yarn workspaces, and as I moved lucide-react to the root package.json, I got an error: duplicate-react. At the moment I fixed the problem via yarn resolutions, to make sure to install only one react version. I think, react a well as prop-types should be peer-deps.
lucide-react@0.1.2-beta.3
The text was updated successfully, but these errors were encountered:
schwamic
changed the title
react should be a peer-dependency
error: duplicate-react
Nov 16, 2020
@schwamic I added react and prop-types as peer deps, I released it on lucide-react@0.1.2-beta.5
I'm curious you still experience this issue, let me know.
I use
yarn workspaces
, and as I movedlucide-react
to the rootpackage.json
, I got an error: duplicate-react. At the moment I fixed the problem viayarn resolutions
, to make sure to install only one react version. I think,react
a well asprop-types
should bepeer-deps
.lucide-react@0.1.2-beta.3
The text was updated successfully, but these errors were encountered: