esm-dev / esm.sh

A fast, smart, & global CDN for modern(es2015+) web development.
https://esm.sh
MIT License
3.04k stars 146 forks source link

Failed to import - react-earthstar #308

Closed mashaal closed 11 months ago

mashaal commented 2 years ago

Failing module

import { Peer } from "https://esm.sh/react-earthstar";

Error message

After running deno run I got this:

error: Uncaught SyntaxError: The requested module '/v69/concurrency-friends@5.2.0/deno/concurrency-friends.js' does not provide an export named 'Lock'
    at <anonymous> (https://cdn.esm.sh/v69/earthstar@8.2.4/deno/earthstar.js:2:6968)

Additional info

mashaal commented 2 years ago

earthstar@8.2.4 is a peer dependency of this library https://github.com/earthstar-project/react-earthstar/blob/master/package.json#L45

ije commented 11 months ago
Screenshot 2023-10-03 at 18 20 21

just works 😜hhh