Replies: 1 comment
-
|
Anyone who can help with this? Any other place I could ask? Thank you! |
Beta Was this translation helpful? Give feedback.
0 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.
-
I followed the instructions for Hybrid PnP + node_modules mono-repo: from the Recipes.
Does that support referencing other packages in the same repository from the workspace for which the
node-moduleslinker is enabled?Whenever I provide the
yarn.lockfile as instructed, local packages cannot be resolved any more:Sample repository here: yarn-pnp-react-native
Note when configuring the repository as suggested in #4232 local dependencies are resolved correctly. However, then when running
yarnin thenode-moduleslinked workspaces,node_moduleresolution is provided for all workspaces (which understand as per #4323 to be the intended behaviour).In any case, I can see only the following options:
node_modulesall over when runningyarn installfrom the wrong placenode-moduleslinker isolated to provided project, but local dependency resolution does not workWhat I am looking for is to have local dependency resolution without 'leaking' the
node-moduleslinker into the other workspaces.Any help and pointers much appreciated 😃
Beta Was this translation helpful? Give feedback.
All reactions