Deploying a monorepo with Yarn PnP #6300
Unanswered
Raymond-Ly
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Could anyone help with what I am missing in the built node apps? I have tried copying in the monorepo root
.pnp.cjs
and.yarn/cache
into the built apps. However, none of the dependencies can be found when trying to start the apps.I am using the latest version of yarn
4.2.2
.Example monorepo structure (note: I don't commit the
.yarn/cache
, but that is generated within our pipeline uponyarn install
):I have also looked in
yarn workspaces focus <workspace_name>
to see if I could generate specific.pnp.cjs
and.yarn/cache
for a single workspace.Let me know if more information is required. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions