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
in the project, it has module a , react . a has react as devDepencies.
after run pnpm link --global a, the file would like this , there will has two react instance, and module a whice used react hooks will got error
project
- node_modules
- react
- a (link from other repo)
- node_modules
- react
- src
so can we exclude module a 's devDepencies while run pnpm link ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
in the project, it has module
a,react.ahasreactas devDepencies.after run
pnpm link --global a, the file would like this , there will has two react instance, and module a whice used react hooks will got errorso can we exclude module a 's devDepencies while run
pnpm link?Beta Was this translation helpful? Give feedback.
All reactions