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

2.0.0-beta.2 -> Vite internal error -> App.vue has no corresponding SFC entry in the cache #1308

Closed
neilmispelaar opened this issue Jan 3, 2021 · 3 comments

Comments

@neilmispelaar
Copy link

Describe the bug

Creating a new empty project using the @vitejs/create-app throws an [vite] Internal server error while trying to run the dev server.

Screen Shot 2021-01-02 at 8 26 16 PM

Reproduction

  1. npm init @vitejs/app my-vue-app --template vue
  2. cd my-vue-app
  3. npm install
  4. npm run dev

https://github.com/vitejs/vite/tree/main/packages/create-app/template-vue

System Info

  • required vite version: 2.0.0-beta.2
  • required Operating System: macOS Big Sur Version 11.1
  • required Node version: LTS v14.15.3
  • Optional
    • Installed @vue/compiler-sfc version: "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.0.5.tgz"
@neilmispelaar
Copy link
Author

Thank you!

I can confirm that the issue is resolved with 2.0.0-beta.3

@smasinde
Copy link

I'm getting this error with vueform/multiselect

@marcodali
Copy link

For me the error went away when deleting and reinstall node_modules/

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants