Skip to content

Failed to build types - Electron #1303

@bnb

Description

@bnb

hey! It looks like electron's types are currently returning Failed to build types: registry.npmjs.org: 400 Bad Request when accessed from https://esm.sh/electron@40.1.0/electron.d.ts

Installing electron fresh, the types seem to be there:

Image

If I run du -sh electron.d.ts on that file, it results in about 1.1mb. Perhaps it's because the types are large? But a 400 error code from npm would indicate otherwise?

Specifically surfacing this because I tried accessing npmx's generated docs tools which use types from esm.sh.

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