Skip to content

Conversation

@koooge
Copy link

@koooge koooge commented Nov 22, 2022

Upgrade pnpm to 7 and fix posinstall error.

> pnpm run prepack --filter ./packages/* -- --stub
│  ERR_PNPM_NO_SCRIPT  Missing script: prepack
│  ELIFECYCLE  Command failed with exit code 1.
└─ Failed in 358ms
 ELIFECYCLE  Command failed with exit code 1.

@SCasarotto
Copy link

Ran into the same issue. Can confirm this branch works.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be "pnpm --filter ./packages/core run prepack --stub", not "pnpm run prepack --filter ./packages -- --stub".

bc using "pnpm run prepack --filter ./packages -- --stub" give me error when run ./packages/playground/basic dev script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants