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

Failed to import - https://esm.sh/@adobe/[email protected]?external=react,react-dom,mobx,mobx-react,@react-spectrum/provider,@react-spectrum/theme-default,@babel/runtime&bundle

Open sangupta opened this issue 1 year ago • 0 comments

Failing module

  • GitHub: https://github.com/adobe/react-spectrum
  • npm: https://npmjs.com/@adobe/[email protected]
import { something } from "https://esm.sh/@adobe/[email protected]?external=react,react-dom,mobx,mobx-react,@react-spectrum/provider,@react-spectrum/theme-default,@babel/runtime&bundle"

Error message

Opening the URL in browser throws:

/* esm.sh - error */
throw new Error("[esm.sh] " + "esbuild: No matching export in \"../esmd/npm/@adobe/[email protected]/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@react-aria/menu/dist/import.mjs\" for import \"UNSTABLE_useSubmenuTrigger\"");
export default null;

Additional info

  • esm.sh version: Current on https://esm.sh
  • Browser version: Chrome 125 on macOS
  • Previous version v135 deployed locally is working fine (deployed internally)

sangupta avatar Jun 03 '24 21:06 sangupta