Actual Behavior:
The error prevents the application from working properly in Electron. Specifically, it relates to issues with how undici is utilized.
package.json
"@iamtraction/google-translate": "^2.0.1",
"react": "^18.3.1",
Error:
@iamtraction_google-translate.js?v=7aeeaed6:7216 Uncaught TypeError: Class extends value [object Object] is not a constructor or null
at node_modules/undici/lib/dispatcher.js (@iamtraction_google-translate.js?v=7aeeaed6:7216:22)
at __require (chunk-WOOG5QLI.js?v=0e4535ab:12:50)
at node_modules/undici/lib/dispatcher-base.js (@iamtraction_google-translate.js?v=7aeeaed6:7235:22)
at __require (chunk-WOOG5QLI.js?v=0e4535ab:12:50)
at node_modules/undici/lib/client.js (@iamtraction_google-translate.js?v=7aeeaed6:8114:26)
at __require (chunk-WOOG5QLI.js?v=0e4535ab:12:50)
at node_modules/undici/index.js (@iamtraction_google-translate.js?v=7aeeaed6:19573:18)
at __require (chunk-WOOG5QLI.js?v=0e4535ab:12:50)
at node_modules/@iamtraction/google-translate/src/index.js (@iamtraction_google-translate.js?v=7aeeaed6:19920:23)
at __require (chunk-WOOG5QLI.js?v=0e4535ab:12:50)
Actual Behavior:
The error prevents the application from working properly in Electron. Specifically, it relates to issues with how undici is utilized.
package.json
Error: