You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue arises because parts of the application are written in CommonJS, as seen in this file.
During development, external dependencies are not bundled, causing the require statement to be transformed into a dynamic require.
There are two possible solutions to resolve this:
Rewrite these files in ECMAScript Modules (ESM) since CommonJS (CJS) is intended for Node.js environments.
Exclude google-protobuf from being prebundled, which will prevent the need for dynamic requires. Update your serve configuration in angular.json as follows:
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
This is the same as #26833. As others have pointed this out, it still doesnt work
Minimal Reproduction
Minimal reproduction on the related issue
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: