Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to execute web worker #28

Open
yf-yang opened this issue Jun 26, 2024 · 1 comment
Open

Fail to execute web worker #28

yf-yang opened this issue Jun 26, 2024 · 1 comment

Comments

@yf-yang
Copy link

yf-yang commented Jun 26, 2024

Reproduction

https://github.com/yf-yang/rsbuild-storybook-monorepo/tree/worker

cd packages/pkg1
pnpm i
pnpm storybook

Click any component (e.g. Button), open the browser console for error logs.

Check packages/pkg1/.storybook/test.ts and packages/pkg2/src/index.ts for code diff

Error message

Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:6006/static/js/async/static/js/vendors-node_modules_pnpm_rspack_plugin-react-refresh_0_7_4_react-refresh_0_14_2_node_modules-9567b7.iframe.bundle.js' failed to load.

@yf-yang
Copy link
Author

yf-yang commented Jul 2, 2024

@fi3ework Do you have any idea 😀?

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

No branches or pull requests

1 participant