Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no export named 'mauve' #37

Closed
phocks opened this issue Jan 13, 2023 · 2 comments
Closed

no export named 'mauve' #37

phocks opened this issue Jan 13, 2023 · 2 comments

Comments

@phocks
Copy link

phocks commented Jan 13, 2023

I'm getting

wiki (main) » deno run -A --unstable https://deno.land/x/ter/main.ts                                                                                                                                   ~/Sites/wiki
error: Uncaught SyntaxError: The requested module 'https://esm.sh/@twind/preset-radix-ui@1.0.5/colors' does not provide an export named 'mauve'
  mauve as neutral,
  ^
    at <anonymous> (https://deno.land/x/ter@0.15.7/deps.ts:69:3)
@phocks
Copy link
Author

phocks commented Jan 13, 2023

Weirdly, changing

export {
  mauve as neutral,
  mauveDark as neutralDark,
  violet as accent,
  violetDark as accentDark,
} from "https://esm.sh/@twind/preset-radix-ui@1.0.5/colors";

to

export {
  mauve as neutral,
  mauveDark as neutralDark,
  violet as accent,
  violetDark as accentDark,
} from "npm:@twind/preset-radix-ui/colors";

seems to fix it. Maybe it's an issue with the esm.sh cdn ?????

@kkga kkga closed this as completed in 3eda58e Jan 13, 2023
@kkga
Copy link
Owner

kkga commented Jan 13, 2023

yeah both esm and npm specifiers are flaky at times, last time it wasn't working with npm so i had to use esm 🤷🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants