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
"ts-node/esm 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit
Expected Behavior
no error when executing mocha 'src/**/*.spec.ts'
Actual Behavior
When executing mocha 'src/**/*.spec.ts'
the following error happen on node v16.17 but not on node v16.16
Error [ERR_LOADER_CHAIN_INCOMPLETE]: "ts-node/esm 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional, include `shortCircuit: true`in the hook's return. at new NodeError (node:internal/errors:[38]7:5) at ESMLoader.resolve (node:internal/modules/esm/loader:852:13) at async ESMLoader.getModuleJob (node:internal/modules/esm/loader:431:7) at async Promise.all (index 0) at async ESMLoader.import (node:internal/modules/esm/loader:533:24) at async loadESM (node:internal/process/esm_loader:91:5) at async handleMainPromise (node:internal/modules/run_main:65:12) { code: 'ERR_LOADER_CHAIN_INCOMPLETE'}error Command failed with exit code 1.
Search Terms
Expected Behavior
no error when executing
mocha 'src/**/*.spec.ts'
Actual Behavior
When executing
mocha 'src/**/*.spec.ts'
the following error happen on node v16.17 but not on node v16.16
Steps to reproduce the problem
Use node
v16.17
ornode16:latest
Use
^9.2.2
^4.6.3
^10.7.0
Minimal reproduction
Specifications
^10.7.0
16.17
^4.6.3
^9.2.2
node:16-alpine
&node:16.17-alpine
The text was updated successfully, but these errors were encountered: