nuxt-themes / docus

Write beautiful documentations with Nuxt and Markdown.
https://docus.dev
MIT License
1.51k stars 157 forks source link

Load plugin failed: pinceau/volar Error [ERR_REQUIRE_ESM]: require() of ES Module when deploying via Vercel? #1003

Open Reddybrekkers opened 8 months ago

Reddybrekkers commented 8 months ago

Docus Starter deploys fine, but is too limited for my needs. I get this when attempting to deploy:

Load plugin failed: pinceau/volar Error [ERR_REQUIRE_ESM]: require() of ES Module /vercel/path0/node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js from /vercel/path0/node_modules/.pnpm/style-dictionary-esm@1.6.2/node_modules/style-dictionary-esm/dist/index.cjs not supported.

shershen08 commented 8 months ago

same as https://github.com/nuxt-themes/docus/issues/986

ndragun92 commented 4 months ago

@Reddybrekkers Installing npm i -D pinceau@0.15.4 in your project should fix it for now until it is fixed in repo