-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG] - process is undefined on Angular #267
Comments
also in vue, someone add process vars in the latest version 3.30 |
We noticed this error on the project too, after doing some search about it, I found a workaround
resolved the problem! |
This shouldnt be needed for client side development, overwriting global behavior is a plaster not a fix |
I Agree with you, my friend found a better solution, setting the version of the lib in package.json without the bug is better, have a great day! |
That will indeed work on a per project basis e.g. setting package.json to Glad that solution has worked for you 👍 Reverting the version is a good short term fix |
Fix for running in browser (addresses #267).
When running Angular projects now using the package, the latest 3.3 fix from this commit breaks it
2992146
Angular runs in the browser and doesn't have a concept of process. Can this be reverted?
Temporary solutions:
Error dump:
Uncaught ReferenceError: process is not defined at 5006 (JSEncrypt.js:3:15) at __webpack_require__ (bootstrap:19:1) at 1287 (JSEncryptRSAKey.js:320:28) at __webpack_require__ (bootstrap:19:1) at 1677 (router.mjs:6124:1) at __webpack_require__ (bootstrap:19:1) at 6747 (app.component.html:5:7) at __webpack_require__ (bootstrap:19:1) at 4431 (environment.ts:14:3) at __webpack_require__ (bootstrap:19:1)
The text was updated successfully, but these errors were encountered: