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

Process is not defined when used with vite react app #713

Open
coldspice opened this issue Oct 12, 2024 · 1 comment
Open

Process is not defined when used with vite react app #713

coldspice opened this issue Oct 12, 2024 · 1 comment

Comments

@coldspice
Copy link

Uncaught ReferenceError: process is not defined
at node_modules/@contentful/rich-text-from-markdown/dist/rich-text-from-markdown.es5.js (@contentful_rich-text-from-markdown.js:17300:19)
at __require (chunk-BUSYA2B4.js:3:50)
at @contentful_rich-text-from-markdown.js:18137:16

i'm getting this error when i tried it on freshly created react app with vite

@coldspice
Copy link
Author

i tried tracing it, it is originating from vfile library which is exporting module.export = process

can anyone suggest any workaround for this

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

1 participant