Skip to content

Failed to load types - vite #1300

@sapphi-red

Description

@sapphi-red

Failing module

Error message

https://esm.sh/[email protected]/dist/node/index.d.ts returns:

Failed to build types: package name is empty

The same error happens with https://esm.sh/[email protected]/dist/node/index.d.ts but doesn't happen with https://esm.sh/[email protected]/dist/node/index.d.ts.
Vite 7.1.10 started to use subpath imports (vitejs/vite@d0094af) so maybe that is the cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions