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

[ERR_LOADER_CHAIN_INCOMPLETE]: "ts-node/esm 'resolve'" did not call the next hook #63

Closed
MHHukiewitz opened this issue Mar 25, 2024 · 3 comments
Labels
bug Something isn't working no-issue-activity

Comments

@MHHukiewitz
Copy link

After following installation instructions

npm i

and running the dev server:

npm run dev

I get the following error:

> [email protected] dev
> npm run check-env && npm run dev:sveltekit


> [email protected] check-env
> node --loader ts-node/esm scripts/js/check-env.ts

(node:279536) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));'
(Use `node --trace-warnings ...` to show where the warning was created)

node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
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:406:5)
    at Hooks.resolve (node:internal/modules/esm/hooks:286:13)
    at async MessagePort.handleMessage (node:internal/modules/esm/worker:168:18) {
  code: 'ERR_LOADER_CHAIN_INCOMPLETE'
}

Node.js v20.8.0

Running main branch on Linux Mint 21.3 Cinnamon.

@MHHukiewitz MHHukiewitz added the bug Something isn't working label Mar 25, 2024
Copy link

Thanks for creating the issue. Attach the details about the issue.

@V205Arduino
Copy link

I seem to get the same issue, not sure what’s wrong too

Copy link

The issue had been stale for a long time. Closing the issue for now. You can reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants