Skip to content

VSCode extension doesn't work if .md filename contains a space #2150

Open
@markhavemann

Description

@markhavemann

VScode extension doesn't work after following instructions on extension page.

Starting the dev server gives the error in console:

npm error code EUSAGE

and in the preview pane:

Slidev server for [name of my file] not found on http://localhost:3030. (TypeError: fetch failed) Please check the server status.

Minimal reproduction

Steps to reproduce the behavior:

  1. Open VSCode
  2. Install the plugin
  3. Enable the icon in the activity bar by forcing enable on slidev in settings.json because it doesn't show up by default
  4. click on icon
  5. click start Dev Server

I've tried reinstalling the extension multiple times, as well as following instructions to install through npm manually.

Environment

  • Slidev version:
  • Browser:
  • OS: Windows

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions