-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
ReferenceError: process is not defined #48
Comments
@Jack-Works Which version is this? Are you getting this error also on the latest |
Yes. This package relies on |
Hmm, are you using any bundler? Currently, both
extension-provider/package-lock.json Line 1303 in 692d2b3
A quick fix I have not tried could be something like
Probably, though it's not clear to me what the best way to achieve that is considering it comes from inside |
webpack 5 (released in 2020) no longer provides polyfill for I currently replaces |
I came upon the issue yesterday. Compiling webpack was successful. Upon utilzation of my extension, the above error began to appear. The issue is occuring because Import and save process to environment: Modify your webpack configuration to include the 'process' polyfill: Import to designated file (this can be done be following the error to the source file; which is likely in the node_modules directory): I hope this helps! |
The text was updated successfully, but these errors were encountered: