Skip to content

VSCode Slidev Windows #2148

Open
Open
@Tiberriver256

Description

@Tiberriver256

Thanks for the awesome tool!

When I tried to install the extension in VSCode on Windows it doesn't seem to do anything. I opened Output > Extension Host and it showed this error:

2025-04-09 09:49:56.782 [error] Activating extension antfu.slidev failed due to an error:
2025-04-09 09:49:56.782 [error] Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, node, and electron are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
    at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:249:11)
    at defaultLoad (node:internal/modules/esm/load:129:3)
    at nextLoad (node:internal/modules/esm/hooks:868:28)
    at Hooks.load (node:internal/modules/esm/hooks:451:26)
    at handleMessage (node:internal/modules/esm/worker:196:24)
    at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)
    at process.processImmediate (node:internal/timers:483:21)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions