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

Failed to import - binary-data

Open p-fruck opened this issue 3 years ago • 0 comments

Failing module

import binaryData from 'https://esm.sh/binary-data';

Error message

After running deno run I got this:

error: Import 'https://cdn.esm.sh/v68/[email protected]/deno/numbers.js' failed: 500 Internal Server Error
    at https://cdn.esm.sh/v68/[email protected]/deno/binary-data.js:2:472

Additional info

  • esm.sh version: v68
  • Deno version: 1.19.1

The author of binary-data wrote his libraries inside src/node_modules without publishing them as a separate package. However, esm tries to resolve the libraries as separate packages, which fails.

p-fruck avatar Mar 12 '22 12:03 p-fruck