Skip to content
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

tsgen tool is not compatible with MJS version of breeze-client. #38

Open
EchoFoxxtrot opened this issue May 25, 2023 · 0 comments
Open

Comments

@EchoFoxxtrot
Copy link

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 breeze-client@2.1.5 to generate my entity set.

Could tsgen be updated with an MJS version? Thanks! :)

@EchoFoxxtrot 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant