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

ES Module Not support #705

Open
padit69 opened this issue Nov 5, 2024 · 1 comment
Open

ES Module Not support #705

padit69 opened this issue Nov 5, 2024 · 1 comment

Comments

@padit69
Copy link

padit69 commented Nov 5, 2024

Application has thrown an uncaught exception and is terminated:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\api-chat\src\server.js from C:\Program Files\iisnode\interceptor.js not supported.
Instead change the require of server.js in C:\Program Files\iisnode\interceptor.js to a dynamic import() which is available in all CommonJS modules.
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at Object. (C:\Program Files\iisnode\interceptor.js:210:1)
Nodejs ver 23.x

@lextm
Copy link

lextm commented Nov 7, 2024

You might check out Azure#146

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

2 participants