We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Seems to be the problem of createCDNLoader function
createCDNLoader
function fetchCollection(name: string) { if (!supportedCollection.includes(name)) return undefined if (!cache.has(name)) cache.set(name, $fetch(`${cdnBase}@iconify-json/${name}/icons.json`)) return cache.get(name)! }
I'm not sure how $fetch is implemented, but i've tested the fetch in node and it probably doesn't work.
$fetch
fetch
await fetch("https://esm.sh/@iconify-json/carbon/icons.json")
There is no problem running unocss with bun and testing the fetch function above
The text was updated successfully, but these errors were encountered:
It seems to be a node problem, bun and deno are working fine. nodejs/node#45419
I propose to raise $fetch to the try block to let the process know what happened when it exits
Sorry, something went wrong.
Nice catch, PR welcome bro ~
resolve unocss#1882
b0f2c7a
No branches or pull requests
Seems to be the problem of
createCDNLoader
functionI'm not sure how
$fetch
is implemented, but i've tested thefetch
in node and it probably doesn't work.There is no problem running unocss with bun and testing the fetch function above
The text was updated successfully, but these errors were encountered: