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

[Bug]: Module "node"process" has been externalized - Svelte | Addon-Test #29416

Open
valentinpalkovic opened this issue Oct 21, 2024 · 0 comments

Comments

@valentinpalkovic
Copy link
Contributor

valentinpalkovic commented Oct 21, 2024

Describe the bug

When setting up @storybook/experimental-addon-test in a Svelte 5 project and running tests, the following warning gets printed to the terminal for each story file:

Module "node:process" has been externalized for browser compatibility. Cannot access "node:process.cwd" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.

Reproduction steps

  1. Create a Svelte 5 sandbox
  2. Run yarn vitest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant