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
When I attempt to re-generate my entities using the tsgen tool with breeze-clilent@mjs, I receive the following error: Error [ERR_REQUIRE_ESM]: require() of ES Module C:\GitHub\gitlab.disney.com\ghro.disney.com\ghro.disney.com.web\ClientApp\node_modules\breeze-client\fesm2015\breeze-client.mjs not supported. Instead change the require of C:\GitHub\gitlab.disney.com\ghro.disney.com\ghro.disney.com.web\ClientApp\node_modules\breeze-client\fesm2015\breeze-client.mjs to a dynamic import() which is available in all CommonJS modules.
I had to revert back to [email protected] to generate my entity set.
Could tsgen be updated with an MJS version? Thanks! :)
The text was updated successfully, but these errors were encountered:
EchoFoxxtrot
changed the title
tsgen tool is not compatible with MJS version of Breeze.
tsgen tool is not compatible with MJS version of breeze-client.
May 25, 2023
When I attempt to re-generate my entities using the tsgen tool with breeze-clilent@mjs, I receive the following error:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\GitHub\gitlab.disney.com\ghro.disney.com\ghro.disney.com.web\ClientApp\node_modules\breeze-client\fesm2015\breeze-client.mjs not supported. Instead change the require of C:\GitHub\gitlab.disney.com\ghro.disney.com\ghro.disney.com.web\ClientApp\node_modules\breeze-client\fesm2015\breeze-client.mjs to a dynamic import() which is available in all CommonJS modules.
I had to revert back to [email protected] to generate my entity set.
Could tsgen be updated with an MJS version? Thanks! :)
The text was updated successfully, but these errors were encountered: