Replies: 1 comment 2 replies
-
@ian did you get any answer on this? I am sure there is some hosting-option or something, but I cannot find the right one. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We're running into lots of issues around pnpm desire to install multiple versions of the same package based on how it resolves (perceived) dependencies.
This is particularly an issue with
wagmi
, since it uses an internal variable to store the config/client, and having multiple versions of wagmi will fail to load this config. I'd imagine this is quite common.Consider the scenario where you have apps/api and apps/nextjs, both which import the wagmi package (or ethers for that matter). Even though they both resolve to 0.7.5, you will get multiple 0.7.5 installs with a hash signature.
Is it possible (through a .npmrc or equivalent) to force pnpm workspace to ALWAYS USE THE SAME PACKAGE INSTALL?
Have tried to use pnpm overrides but this simply forces a specific package version, it doesn't force pnpm to use the SAME package install.
Beta Was this translation helpful? Give feedback.
All reactions