Skip to content

Uncaught TypeError when clicking Connect button #576

@BorisBrock

Description

@BorisBrock

I have created a simple testing website:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <script type="module" src="https://unpkg.com/esp-web-tools@10/dist/web/install-button.js?module"></script>
</head>

<body>
  <esp-web-install-button manifest="MyManifestUrl"></esp-web-install-button>
</body>

</html>

When I open this site in Chrome and click the "Connect" button, the following error appears in the console:

Uncaught (in promise) TypeError: Failed to resolve module specifier "tslib". Relative references must start with either "/", "./", or "../".

Then the serial port chooser dialog opens, but nothing else happens. Selecting a device does nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions