Closed mcmxcdev closed 1 year ago
In the end I was able to upgrade to storybook v7 beta and there it works without a problem.
Anyways, since not everyone will be able to do that, I have created a minimal repo: https://github.com/mcmxcdev/pnpm-nx-storybook-issue
nx run ui-design:storybook
will work while the nx run ui-design:build-storybook
should be breaking with the error message in the original issue description.
This is apparently fixed in the latest prerelease. Please upgrade to use the new lockfile format
Migration guide: https://storybook.js.org/migration-guides/7.0
Closing this since we probably won't fix in 6.5.
Is your feature request related to a problem? Please describe
We just attempted to opt-in to the new lockfile format which will become default with pnpm v8 and all works well, except for the storybook dev and prod builds:
Not sure what the exact problem is here but I can build storybook successfully again after revering to lockfile format v5.4
Describe the solution you'd like
Support pnpm
lockfileVersion
v6 which was introduced in https://github.com/pnpm/pnpm/releases/tag/v7.24.2Describe alternatives you've considered
Stick to
lockfileVersion
v5.4 for nowAre you able to assist to bring the feature to reality?
no
Additional context
No response