-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Error: require() of ES Module - Instead change the require of index.js in applicationMutation.ts to a dynamic import() which is available in all CommonJS modules. #25
Comments
alan345
changed the title
Error: require() of ES Module
Error: require() of ES Module - Instead change the require of index.js in applicationMutation.ts to a dynamic import() which is available in all CommonJS modules.
Jun 17, 2023
Too old target or node version perhaps? |
Closed due to inactivity / insufficient information. You are welcome to re-open it with more details. |
getting this same error in nestJS as well. @alan345 did you figure this out? |
@rogue-kitten What's your node version? |
it's the latest one, 20.7.0 |
facing same issue I have node v 20+ #35 |
Is it possible to use the build module in CommonJS? |
See also #35 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
When in the backend (Express) with Typescript,
I do this
then:
When I compile, I have this error:
Any idea where this issue might come from?
Thanks fro your help!
The text was updated successfully, but these errors were encountered: