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

Blank page when installing slidev globally #2104

Open
collinmccarthy opened this issue Mar 6, 2025 · 0 comments
Open

Blank page when installing slidev globally #2104

collinmccarthy opened this issue Mar 6, 2025 · 0 comments

Comments

@collinmccarthy
Copy link

Describe the bug

The getting started guide for a "single file installation" doesn't seem to be working for me. It doesn't give any warnings or errors, just has an empty browser page.

Minimal reproduction

I ran the following.

brew install npm
npm i -g @slidev/cli
slidev slides.md

When it prompted me I created the file (and I checked it has the standard getting started content). But all of the URLs printed just show an empty webpage, and the terminal window seems to be unresponsive. I tried adding slidev --log=info slides.md but I don't any additional debugging info printed out.

Previously I tried this with the non-global install instructions, and it worked, but I don't want to create these huge folders for every slide show. I just want to have a ton of single .md files (e.g. one for every weekly meeting) that I can store like any other file in my repo, like I did when I used Marp.

So what am I doing wrong here with this global install? Or if I really want to use single files for my workflow should I be using Marp instead?

Environment

  • Slidev version: v51.3.0 (global)
  • Browser: Chrome v133.0.6943.142 and Safari v18.3 (20620.2.4.11.5)
  • OS: macOS v15.3.1 (Sequoia)
  • Node: v23.9.0
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

1 participant