esm.sh icon indicating copy to clipboard operation
esm.sh copied to clipboard

Failed to import - react-earthstar

Open mashaal opened this issue 2 years ago • 1 comments

Failing module

  • GitHub: https://github.com/earthstar-project/react-earthstar
  • npm: https://www.npmjs.com/package/react-earthstar
import { Peer } from "https://esm.sh/react-earthstar";

Error message

After running deno run I got this:

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

Additional info

  • esm.sh version: 77
  • Deno version: 1.21.0

mashaal avatar Apr 21 '22 10:04 mashaal

[email protected] is a peer dependency of this library https://github.com/earthstar-project/react-earthstar/blob/master/package.json#L45

mashaal avatar Apr 21 '22 10:04 mashaal

Screenshot 2023-10-03 at 18 20 21 just works 😜hhh

ije avatar Oct 03 '23 10:10 ije