question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error when Vite HMR

See original GitHub issue

my Code on main.js this is my repo: https://github.com/webszy/vite-vue2-project

import { createApp, h, install } from "vue-demi"
install()

i have run the npx vue-demi-switch 2,and i find out install doesn’t work. image

if i import vue-composition-api again,the error changed image

my system information

System:
    OS: Windows 10 10.0.19043
    CPU: (4) x64 Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
    Memory: 5.93 GB / 15.94 GB
  Binaries:
    Node: 14.18.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.24.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 95.0.4638.69
    Edge: Spartan (44.19041.1266.0), Chromium (95.0.1020.40)
    Internet Explorer: 11.0.19041.1202
  npmPackages:
    @vitejs/plugin-legacy: ^1.6.2 => 1.6.2
    vite: ^2.6.13 => 2.6.13
    vue-demi: ^0.12.0 => 0.12.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
webszycommented, Nov 22, 2021

disappoint for this and give up to use this package

0reactions
antfucommented, Nov 22, 2021

Feel free to.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HMR does not work · Issue #3002 · vitejs/vite - GitHub
Describe the bug. I see this HMR didn't work for dynamic imported modules ,I also have this issue. but I have another problem...
Read more >
Troubleshooting - Vite
Vite detects a file change but the HMR is not working #. You may be importing a file with a different case. For...
Read more >
vite-hmr-bug - StackBlitz
A node project based on react and react-dom.
Read more >
Troubleshooting | Vite Ruby
Missing executable error # ... Verify that both vite and vite-plugin-ruby are in devDependencies in your package.json and have been installed by running...
Read more >
Laravel Vite HMR not working with custom domain - Laracasts
HMR is not working for the custom domain. import { defineConfig } from 'vite'; import laravel, { refreshPaths } from 'laravel-vite-plugin'; export default ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found