Open
Description
I'm trying to get this working with Yarn workspaces. I started with a basic install into a standard Yarn repo, without workspaces:
loganzartman/yarn-classic-parcel-storybook@ad07630
This works fine, I'm able to run yarn storybook
successfully.
Next, I tried to move this into a workspace:
loganzartman/yarn-classic-parcel-storybook@7896815
Now, if I run yarn workspace my-package storybook
, I get this error:
~/yarn-classic-parcel-storybook main ❯ yarn workspace my-package storybook 10:28:46 PM
yarn workspace v1.22.22
yarn run v1.22.22
warning package.json: No license field
$ storybook dev -p 6006
@storybook/cli v7.6.20
(node:285161) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
attention => Storybook now collects completely anonymous telemetry regarding usage.
This information is used to shape Storybook's roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://storybook.js.org/telemetry
info => Starting manager..
WARN No story files found for the specified pattern: packages/**/*.mdx
WARN No story files found for the specified pattern: packages/**/*.stories.@(js|jsx|mjs|ts|tsx)
info => Starting preview..
╭──────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Storybook 7.6.20 for storybook-react-parcel started │
│ 127 ms for manager │
│ │
│ Local: http://localhost:6006/ │
│ On your network: http://50.47.28.45:6006/ │
│ │
│ A new version (8.6.2) is available! │
│ │
│ Upgrade now: npx storybook@latest upgrade │
│ │
│ Read full changelog: https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────╯
Server running at http://localhost:3000
🚨 Build failed.
@parcel/core: Failed to resolve
'/home/logan/yarn-classic-parcel-storybook/node_modules/storybook-builder-parcel/generated-entries/iframe.html'
@parcel/resolver-default: Cannot load file
'./home/logan/yarn-classic-parcel-storybook/node_modules/storybook-builder-parcel/generated-entries/iframe.html' in './'.
I suspect that this error is related to storybook-builder-parcel
because Parcel itself works fine; I can successfully run yarn workspace my-package build
.
repro: https://github.com/loganzartman/yarn-classic-parcel-storybook
Metadata
Metadata
Assignees
Labels
No labels