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
Fix plain NodeJS usage #4268
Comments
I came here from the issue on vitest repo. The workaround from the vitest issue that worked also for me is to add the private package that depends on styled-components to test.server.deps.inline:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-mt2ebd?file=repro.mjs
Steps to reproduce
The reproduction is on the stackblitz link
Expected Behavior
NodeJS usage should be possible. This became an issue following a comment from one of the vite maintainers in this thread: vitest-dev/vitest#5286 (reply in thread).
Another useful link that shows the problem: https://publint.dev/[email protected]
Actual Behavior
The text was updated successfully, but these errors were encountered: