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

unsupported-nodejs-builtin-module trying to import WindiCSS/helpers #107

Closed
CanRau opened this issue Sep 1, 2021 · 0 comments · Fixed by #164
Closed

unsupported-nodejs-builtin-module trying to import WindiCSS/helpers #107

CanRau opened this issue Sep 1, 2021 · 0 comments · Fixed by #164

Comments

@CanRau
Copy link
Contributor

CanRau commented Sep 1, 2021

Hey there ☺️
I've got WindiCSS working pretty great so far in Deno
Though WindiForms and Typography seam to work fine, I can't get the config helper working.
Having this in my deps.ts

export { defineConfig as WindiDefineConfig } from "https://esm.sh/[email protected]/helpers";

yields

error: Import 'https://cdn.esm.sh/error.js?type=unsupported-nodejs-builtin-module&name=module&importer=windicss' failed: 500 Internal Server Error
    at https://cdn.esm.sh/v47/[email protected]/deno/helpers.js:2:0

Also tried to export from https://cdn.esm.sh/v47/[email protected]/es2021/helpers.js directly with the exact same result

What can I do?

As I stumbled upon #46 I also tried ?bundle which results in the same error just with the last line containing .bundle.js

at https://cdn.esm.sh/v47/[email protected]/deno/helpers.bundle.js:2:0
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

Successfully merging a pull request may close this issue.

2 participants