slidev
slidev copied to clipboard
Local server extremely slow since 0.27
Describe the bug Since version 0.27 slidev hangs (or is very slow) when running from a project with multiple slides.
To Reproduce Steps to reproduce the behavior:
- Clone https://github.com/fguisso/talks.git
- Update the dependency of
@slidev/cli
to the current version (0.28.5) - run
npm i
- run
npm run dev -- slides/top-10.md
- See the process hanging/running at 100% cpu. It will finish after 1-2 minutes building
Desktop (please complete the following information):
- OS: Linux fedora 5.16.8-200.fc35.x86_64
- Browser: any
- Slidev version: 0.28.5
On windows the server will not even start if the markdown files are in a subdirectory with error:
[vite] Internal server error: EMFILE: too many open files
Last known working version was 0.27.13
. It may be the same error: Does it start normally if you put top-10.md
in the project root directory?
I run macOS and have the same problem
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still a problem - bump.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Just tried it with 0.36.11 - still the same behaviour
Hi,
Same behaviour here, tested with :
- Node 18 LTS and 20
- Slidev v0.40.16 and v0.42.4
- Ubuntu 20.04 WSL2 and Oracle Linux 8.7
Browser : Firefox 113
Could we reopen this issue ? @antfu maybe ?
Thanks !