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
importloggerfrom"./utils/logger";// Note there is no extension, thus the use of --es-module-specifier-resolution=node
How often does it reproduce? Is there a required condition?
Every execution
What is the expected behavior?
Works in v18.x
What do you see instead?
After upgrading to v19.0.0 the execution environment reports the following error:
node:internal/errors:484 ErrorCaptureStackTrace(err); ^Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/fubar/helloworld/dist/utils/logger' imported from /Users/fubar/helloworld/dist/index.js at new NodeError (node:internal/errors:393:5) at finalizeResolution (node:internal/modules/esm/resolve:257:11) at moduleResolve (node:internal/modules/esm/resolve:850:10) at defaultResolve (node:internal/modules/esm/resolve:1058:11) at nextResolve (node:internal/modules/esm/loader:161:28) at ESMLoader.resolve (node:internal/modules/esm/loader:829:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:412:18) at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40) at link (node:internal/modules/esm/module_job:75:36) { code: 'ERR_MODULE_NOT_FOUND'}
Additional information
No response
The text was updated successfully, but these errors were encountered:
Version
19.0.0
Platform
Darwin Kernel Version 21.6.0
Subsystem
No response
What steps will reproduce the bug?
A project that is built with modules fails to execute. Configuration:
package.json
:tsconfig.json
:index.ts
:How often does it reproduce? Is there a required condition?
Every execution
What is the expected behavior?
Works in v18.x
What do you see instead?
After upgrading to v19.0.0 the execution environment reports the following error:
Additional information
No response
The text was updated successfully, but these errors were encountered: