docus
docus copied to clipboard
Load plugin failed: pinceau/volar Error [ERR_REQUIRE_ESM]: require() of ES Module when deploying via Vercel?
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.
same as https://github.com/nuxt-themes/docus/issues/986
@Reddybrekkers Installing npm i -D [email protected] in your project should fix it for now until it is fixed in repo