Skip to content

How to fix [vite-node] Failed to load module? #1385

Discussion options

You must be logged in to vote

the issue is that i used absolute path for module importa from root dir, and vitest didn't understand this. i had to rename to relative paths in app.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@PavelDemyanenko
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by PavelDemyanenko
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants