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

Failed to import - http://esm.sh/[email protected]/polyfill

Open CanRau opened this issue 3 years ago • 1 comments

Failing module

  • GitHub: https://github.com/chrisdickinson/raf
  • npm: https://www.npmjs.com/package/raf
import { something } from 'https://esm.sh/my_module'
export { default as rafPolyfill } from http://esm.sh/[email protected]/polyfill

Error message

After running deno run I get this (Note the 3 dots ...d.ts):

/* your error log here */
error: Error: Unable to resolve media type for specifier: https://cdn.esm.sh/v53/@types/[email protected]/polyfill...d.ts

Additional info

  • esm.sh version: v53
  • Deno version: 1.14.0

And thanks for this amazing service which makes Deno so much easier to use 🥰

CanRau avatar Sep 22 '21 11:09 CanRau

@CanRau thanks, you can add ?no-check to disable the types check, i will look into

ije avatar Sep 22 '21 11:09 ije