slidevjs / slidev

Presentation Slides for Developers
https://sli.dev
MIT License
32.98k stars 1.34k forks source link

Failed to resolve import "vue-demi" since v0.9.5 #109

Closed johannschopplich closed 3 years ago

johannschopplich commented 3 years ago

I've upgraded to the latest version. Getting the following error:

[vite] Internal server error: Failed to resolve import "vue-demi" from "node_modules/@slidev/cli/node_modules/@slidev/client/logic/route.ts". Does the file exist?
Plugin: vite:import-analysis
File: /Users/johann/Git/slidev-leanera-a11y/node_modules/@slidev/cli/node_modules/@slidev/client/logic/route.ts
1  |  import {computed, nextTick, unref} from "vue-demi";
   |                                           ^
2  |  import {router} from "../routes";
3  |  export function useRouteQuery(name, defaultValue, {

Edit: Removed node_modules folder and lock file, reinstalled, but the error persists.

antfu commented 3 years ago

Ah, that was a mistake, thanks

johannschopplich commented 3 years ago

Thank you for your great project and continuous work!