Closed legobeat closed 6 months ago
Same on yarn 3.6.3
YN0001: │ Error: @storybook/node-logger@workspace:*: Workspace not found (@storybook/node-logger@workspace:*)
at je.getWorkspaceByDescriptor (/foo/.yarn/releases/yarn-3.6.3.cjs:439:3260)
at cC.getCandidates (/foo/.yarn/releases/yarn-3.6.3.cjs:390:29582)
at kf.getCandidates (/foo/.yarn/releases/yarn-3.6.3.cjs:391:1264)
at kf.getCandidates (/foo/.yarn/releases/yarn-3.6.3.cjs:391:1264)
at /foo/.yarn/releases/yarn-3.6.3.cjs:439:8033
at df (/foo/.yarn/releases/yarn-3.6.3.cjs:390:11070)
at ge (/foo/.yarn/releases/yarn-3.6.3.cjs:439:8013)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.allSettled (index 0)
at async io (/foo/.yarn/releases/yarn-3.6.3.cjs:390:10398)
We also encountered this just today even though we didn't have any changes in our dependencies. Our workaround is to add a resolution to an older version Yarn install ran successfully after this and we still don't know the root cause...
package.json
{
"resolutions": {
"@storybook/node-logger": "7.6.16"
}
}
Looks like they accidentally committed pnpm config on @storybook/addon-mdx-gfm
"dependencies": {
"@storybook/node-logger": "workspace:*",
"remark-gfm": "^4.0.0",
"ts-dedent": "^2.0.0"
},
I upgraded from "@storybook/addon-mdx-gfm": "^7.6.17",
to "@storybook/addon-mdx-gfm": "^8.0.9",
to resolve the issue.
Try this if you want stay on your version
yarn add @storybook/addon-mdx-gfm@7.6.16 --verbose && yarn install --verbose
https://github.com/storybookjs/storybook/issues/26929#issuecomment-2088820360
Pinning the version to 7.6.16
works too. Thanks, @miladpav.
This is a bad release and we are looking into a fix now. Please pin your version to 7.6.16
as a temporary workaround. Sorry for the inconvenience!
This should be fixed now in version 7.6.19
. https://github.com/storybookjs/storybook/releases/tag/v7.6.19
Run npx storybook@7.6.19 upgrade
to upgrade.
Describe the bug
On a storybook v7 project using yarn v4 as package manager,
yarn install
fails as of recently:To Reproduce
yarn install
System
Additional context