TS-ESNode icon indicating copy to clipboard operation
TS-ESNode copied to clipboard

Error ERR_LOADER_CHAIN_INCOMPLETE: short circuit detection

Open leumasme opened this issue 3 years ago • 0 comments

When trying to launch a script with ts-esnode (both latest and 1.7.0) on Node v16.17.0, I am getting the error Error [ERR_LOADER_CHAIN_INCOMPLETE]: "@k-foss/ts-esnode '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 I could find ts-node/issues/1714 (April 2022) for this error, which seems to imply that this error comes from new checks in new Node version. It would be great if you could look into this and update the package to resolve this. Thanks

leumasme avatar Sep 29 '22 08:09 leumasme