docus icon indicating copy to clipboard operation
docus copied to clipboard

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

Open Reddybrekkers opened this issue 1 year ago • 2 comments

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/[email protected]/node_modules/chalk/source/index.js from /vercel/path0/node_modules/.pnpm/[email protected]/node_modules/style-dictionary-esm/dist/index.cjs not supported.

Reddybrekkers avatar Nov 09 '23 21:11 Reddybrekkers

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

shershen08 avatar Nov 10 '23 11:11 shershen08

@Reddybrekkers Installing npm i -D [email protected] in your project should fix it for now until it is fixed in repo

ndragun92 avatar Mar 12 '24 20:03 ndragun92