Closed ZhiruiLi closed 3 years ago
Have you tried the least version of Slidev?
Have you tried the least version of Slidev?
Well, after changing current version to 0.20.0, it works. Hope the latest version can be the default version of npm init slidev
.
By the way, the global version of slidev is also not working:
> npm i -g @slidev/cli
> npm i -g @slidev/theme-default
> slidev .\talk.md
●■▲
Slidev v0.20.0
theme @slidev/theme-default
entry C:\Users\xxx\yyy\talk.md
slide show > http://localhost:3030/
presenter mode > http://localhost:3030/presenter
remote control > pass --remote to enable
shortcuts > restart | open | edit
node:events:371
throw er; // Unhandled 'error' event
^
Error: spawn C:\Users\xxx\scoop\persist\nodejs\bin\node_modules\@slidev\cli\node_modules\esbuild\esbuild.exe ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:480:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
at onErrorNT (node:internal/child_process:480:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn C:\\Users\\xxx\\scoop\\persist\\nodejs\\bin\\node_modules\\@slidev\\cli\\node_modules\\esbuild\\esbuild.exe',
path: 'C:\\Users\\xxx\\scoop\\persist\\nodejs\\bin\\node_modules\\@slidev\\cli\\node_modules\\esbuild\\esbuild.exe',
spawnargs: [ '--service=0.12.8', '--ping' ]
}
Hope the latest version can be the default version of npm init slidev.
It's npm's cache, there is nothing I could do I think. You might need npm init slidev@latest
By the way, the global version of slidev is also not working
No idea on that. Looks like a esbuild issue
Describe the bug
When execute
npm run dev
, even if starting from cleanroom, an error occurs:To Reproduce Steps to reproduce the behavior:
Just follow the startup guide:
Desktop (please complete the following information):