Skip to content
New issue

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

Docus in now broken on Vercel #971

Open
stebansaa opened this issue Aug 28, 2023 · 3 comments
Open

Docus in now broken on Vercel #971

stebansaa opened this issue Aug 28, 2023 · 3 comments

Comments

@stebansaa
Copy link

issue started a few hours ago

@YesidMarin
Copy link

Hello. I have same issues.

This is my log

[12:58:29.385] [error] Package subpath './lib/preprocess.js' is not defined by "exports" in /vercel/path0/node_modules/micromark/package.json imported from /vercel/path0/.nuxt/prerender/index.mjs [12:58:29.386] at new NodeError (node:internal/errors:399:5) [12:58:29.386] at exportsNotFound (node:internal/modules/esm/resolve:361:10) [12:58:29.386] at packageExportsResolve (node:internal/modules/esm/resolve:697:9) [12:58:29.386] at packageResolve (node:internal/modules/esm/resolve:872:14) [12:58:29.386] at moduleResolve (node:internal/modules/esm/resolve:938:20) [12:58:29.386] at defaultResolve (node:internal/modules/esm/resolve:1153:11) [12:58:29.386] at nextResolve (node:internal/modules/esm/loader:163:28) [12:58:29.386] at ESMLoader.resolve (node:internal/modules/esm/loader:838:30) [12:58:29.386] at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18) [12:58:29.386] at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40) [12:58:29.386] at link (node:internal/modules/esm/module_job:76:36) [12:58:29.386] [12:58:29.386] [error] Package subpath './lib/preprocess.js' is not defined by "exports" in /vercel/path0/node_modules/micromark/package.json imported from /vercel/path0/.nuxt/prerender/index.mjs [12:58:29.451] error Command failed with exit code 1. [12:58:29.452] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [12:58:29.473] Error: Command "yarn run build" exited with 1

@stebansaa
Copy link
Author

Here is where the error starts on Vercel:

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

@Reddybrekkers
Copy link

I have the same issue:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants