esp-web-tools icon indicating copy to clipboard operation
esp-web-tools copied to clipboard

Uncaught TypeError when clicking Connect button

Open BorisBrock opened this issue 9 months ago • 0 comments

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.

BorisBrock avatar Mar 14 '25 08:03 BorisBrock