-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
npx vitest : error failed to load config from vite.config.ts #906
Comments
Please, refer to evanw/esbuild#1819 |
Nothing in that thread tells me how to fix it, |
Your reproduction is working for me, if I add |
I have added it, still same issue :( |
The issue is with your pipeline, not with Vitest itself. I suggest you ask for help in our discord. |
Will do, Thanks :) |
Hey @wael-fadlallah |
If I remember correctly I think I have solved it by deleting the node modules directory and switching to PNPM, |
Thanks for the swift answer. Actually, I get this When I'm trying to build a docker image
So node_modules are created from scratch, any hints? Thanks! |
Oh sorry, I have no clue |
(A little bit late but) I added this dependency explicitly to my package.json and it fixed my problem: |
可能是 nvm 设置的默认 node 版本不符合 |
Describe the bug
I have just added Vitest to my new Vite project, I didn't make any configuration or anything
Error:
Package.json
Reproduction
My repo is public, here is the link https://github.com/wael-Fadlallah/blog-example-app
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: