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

Failed to import - @azure/[email protected]

Open taras opened this issue 1 year ago • 1 comments

Failing module

  • GitHub: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
  • npm: https://npmjs.com/package/@azure/identity
import { something } from "https://esm.sh/@azure/[email protected]"

Error message

I got this:

import "/error.js?type=unsupported-node-builtin-module&name=child_process&importer=@azure/[email protected]";

Additional info

package.json has browser property which I guess is supposed to be used to figure like an importmap, but it doesn't look like esm.sh uses it.

  • esm.sh version: 132
  • Browser version: chrome 116

taras avatar Sep 11 '23 21:09 taras

Also breaking https://esm.sh/@infisical/[email protected]

mrvdot avatar Dec 27 '23 16:12 mrvdot