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

Failed to import - react-icons

Open TiKevin83 opened this issue 4 years ago • 4 comments

Failing module

  • npm: react-icons
import { GoMarkGithub } from 'https://esm.sh/react-icons/go'

Error message

Uncached or missing remote URL: "https://esm.sh/react-icons/go".deno(no-cache) (React from esm.sh caches fine in my VS Code)

Additional info

  • esm.sh version: v57
  • Deno version: 1.15.3

TiKevin83 avatar Nov 06 '21 04:11 TiKevin83

Getting this again now using import { FaBeer } from 'https://esm.sh/[email protected]/fa';

esm.sh version: v94 Deno version: 1.25.0

marcushultman avatar Sep 22 '22 02:09 marcushultman

any error message?

ije avatar Sep 22 '22 06:09 ije

@ije When running deno run https://esm.sh/[email protected]/fa

error: Uncaught SyntaxError: The requested module '/v95/[email protected]/deno/lib/esm/iconContext.js' does not provide an export named 'DefaultContext'
    at <anonymous> (https://esm.sh/v95/[email protected]/deno/lib/esm/iconBase.js:2:210)

marcushultman avatar Sep 22 '22 12:09 marcushultman

Getting the same error message with v102:

❯ deno run https://esm.sh/react-icons/fa
error: Uncaught SyntaxError: The requested module '/v102/[email protected]/deno/lib/esm/iconContext.js' does not provide an export named 'DefaultContext'
    at <anonymous> (https://esm.sh/v102/[email protected]/deno/lib/esm/iconBase.js:2:210)

shishkin avatar Jan 16 '23 18:01 shishkin