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

Failed to load config #1737

Closed
CheIIau opened this issue Aug 7, 2022 · 3 comments
Closed

Failed to load config #1737

CheIIau opened this issue Aug 7, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@CheIIau
Copy link

CheIIau commented Aug 7, 2022

I Tried this plugin on two different computers, on two different projects and always got the same error:

failed to load config from D:\User\vue\test\node_modules.vite\volar-vite.config.ts
error when starting dev server:
Error: Cannot find module 'D:User♂ue♂est♂ite.config'
...

Tbh, i don't know why it is complaining on that it cannot find vite.config, because it obviously exist
Maybe i'm doing something wrong

@johnsoncodehk johnsoncodehk transferred this issue from johnsoncodehk/vite-plugin-vue-component-preview Aug 19, 2022
@johnsoncodehk johnsoncodehk added the bug Something isn't working label Aug 19, 2022
@johnsoncodehk
Copy link
Member

It may fixed by dd9b361, please let me know if still not working on 0.40.2.

@CheIIau
Copy link
Author

CheIIau commented Aug 28, 2022

Now here is new error message. Previously compiler wasn't able to find srccomponentsHelloWorld.vue, so it seems like it's just throw away slashes.
image

@CheIIau
Copy link
Author

CheIIau commented Aug 28, 2022

Now it's working. Thank you, it's great, i love it 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants