-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Import failure on file path with spaces #9917
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Comments
6 tasks
@antfu Can you please check this if had time? 🙏🏼 |
xxkl1
pushed a commit
to xxkl1/vite
that referenced
this issue
Sep 12, 2022
This was referenced Sep 12, 2022
I think this issue might be lost without a priority badge @bluwy 😄 |
bluwy
added
p3-minor-bug
An edge case that only affects very specific usage (priority)
and removed
bug
labels
Oct 4, 2023
This was referenced Nov 29, 2024
Any workaround for this since it conflicts with Astro v5. Their issue withastro/astro#12556 is closed as upstream bug. |
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Related issue: nitrojs/nitro#448 and vitest-dev/vitest#1937
When importing a module path with spaces, vite-node will throw
Error: [vite-node] Failed to load
, but it works fine in node env.This works in Node.js:
But when we import this file in vitest, we'll see error:
Reproduction
https://github.com/clarkdo/vest-import-with-spaces-issue
System Info
System: OS: macOS 12.5.1 Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.7.0 npm: 8.15.0 Browsers: Chrome: 104.0.5112.101 npmPackages: vitest: ^0.22.1 => 0.22.1
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: