sonner
sonner copied to clipboard
It breaks my package.lock
Describe the feature / bug 📝:
I have a monorepo project with npm workspaces, when installing sonner, it changes my package.lock by removing my frontend/node_modules/react
package and reinstalling react from "node_modules/react". Same version but it breaks my app. If you could remove "peerDependencies" from your package.json, I would really appreciate it! IMO it only adds errors most of the times and provides no benefits
try deleting node_modules
and package.lock
and reinstalling all packages
Like @Rychillie mentioned, did that help?
@emilkowalski I tried but that didn’t help. So what I did is I temporarily fixed the package.lock manually, and reinstalled everything with “npm ci”
Would appreciate a codesandbox demo if you think this has to do with Sonner 👍🏻