/strapi-pnpm-bug-repro

Primary LanguageTypeScriptMIT LicenseMIT

#12837

  • Related issue: #12837

This is a problem I've only encountered in pnpm workspace so far, and this repository is an example of what can be replicated. It also contains two examples where neither works:

  • As a workspace package: strapi-graphql-starter
  • As a sub-folder inside project, which is not regarded as a workspace package, but use a shared lock file(pnpm-lock.yaml): strapi-project.

To reproduce, you can run:

pnpm install
pnpm run develop --filter="strapi-graphql-starter"

cd strapi-project

pnpm install
pnpm run develop