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

Components preview not loading/working while bit start #9122

Closed
subham25997 opened this issue Aug 19, 2024 · 2 comments
Closed

Components preview not loading/working while bit start #9122

subham25997 opened this issue Aug 19, 2024 · 2 comments

Comments

@subham25997
Copy link

subham25997 commented Aug 19, 2024

  • I created a workspace for for developing Vue components.
    bit new vue my-workspace --env bitdev.vue/vue-env --default-scope my-scope
  • Created components and installed dependencies using:
    bit create vue ui/test-component
    bit install --add-missing-deps
  • Run bit start

Getting error:
image

  • Bit version: 1.8.20
  • Node version: 20.16.0
  • npm : 10.8.1
@Jinjiang
Copy link
Member

Jinjiang commented Aug 19, 2024

Update: so far the bug was found due to Vite in some cases can't handle file path like C:\xxx\xxx.js properly on Windows. A walk-around is using /C:/xxx/xxx.js instead. However, this might involve a low-level update which will takes time to fix and review. 🙏

@Jinjiang
Copy link
Member

Jinjiang commented Sep 1, 2024

@subham25997 vue-env has released v1.1.4 including this bugfix. However, it still doesn't work with bit v1.8.20. You have to wait for the upcoming bit update. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants