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

Failed to import - tailwindcss

Open laytan opened this issue 2 years ago • 0 comments

Failing module

  • GitHub: https://github.com/tailwindlabs/tailwindcss
  • npm: https://www.npmjs.com/package/tailwindcss
import resolveConfig from 'https://esm.sh/tailwindcss/resolveConfig.js';

resolveConfig({});

Error message

After running deno run I got this:

error: Uncaught TypeError: (0 , _featureFlags.flagEnabled) is not a function
    at https://esm.sh/v106/[email protected]/deno/lib/util/getAllConfigs.development.js:81:101
    at Array.filter (<anonymous>)
    at getAllConfigs (https://esm.sh/v106/[email protected]/deno/lib/util/getAllConfigs.development.js:81:51)
    at https://esm.sh/v106/[email protected]/deno/lib/util/getAllConfigs.development.js:59:48
    at Array.flatMap (<anonymous>)
    at getAllConfigs (https://esm.sh/v106/[email protected]/deno/lib/util/getAllConfigs.development.js:59:28)
    at resolveConfig (https://esm.sh/v106/[email protected]/deno/lib/public/resolve-config.development.js:56:62)
    at file:///Users/laytan/projects/tailwind-sorter.nvim/formatter/src/index.ts:9:27

Additional info

  • esm.sh version: 106
  • Deno version: 1.30.1

laytan avatar Feb 03 '23 20:02 laytan