Skip to content

ES Module Not support #705

@padit69

Description

@padit69

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions