esp-web-tools
esp-web-tools copied to clipboard
Uncaught TypeError when clicking Connect button
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.