-
Notifications
You must be signed in to change notification settings - Fork 55
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
Angular 12, ReferenceError: process is not defined [BUG] #28
Comments
Hi @pgarzina, |
@pgarzina I'm not familiar with Angular specifics, but if you have access to your webpack config you could use plugins = [
/* ... */
new webpack.DefinePlugin({
'process.env.NODE_DEBUG': `''`, // replace any calls to process.env.NODE_DEBUG with empty string
}),
]; |
hey, thanks for helping out! |
This is the same bug that got reported couple of months ago in twilio-client.js, and seems like it did not get fixed.
We switched over to twilio-voice.js again with angular 12, and the bug is present here as well
process not defined issue: twilio/twilio-client.js#284
Expected behavior:
The application should work fine.
Actual behavior:
Throws and error and stops working
package.json
The text was updated successfully, but these errors were encountered: