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
require
Checking out the project and pnpm i and pnpm run dev throws the following error:
pnpm i
pnpm run dev
✘ [ERROR] "unocss/vite" resolved to an ESM file. ESM file cannot be loaded by require. See https://vitejs.dev/guide/troubleshooting.html#this-package-is-esm-only for more details. [plugin externalize-deps]
I was able to fix by adding
"type": "module", to the playground package.json
"type": "module",
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checking out the project and
pnpm i
andpnpm run dev
throws the following error:✘ [ERROR] "unocss/vite" resolved to an ESM file. ESM file cannot be loaded by
require
. See https://vitejs.dev/guide/troubleshooting.html#this-package-is-esm-only for more details. [plugin externalize-deps]I was able to fix by adding
"type": "module",
to the playground package.jsonThe text was updated successfully, but these errors were encountered: