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

Error [ERR_LOADER_CHAIN_INCOMPLETE]: "vitedge/dev/ts-loader.js '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. #12

Open
Edge-coordinates opened this issue Aug 9, 2023 · 1 comment

Comments

@Edge-coordinates
Copy link

Directly clone this template to use, execute yarn dev, and then encounter the following error message:

yarn dev
yarn run v1.22.19
$ vitedge --port 3333 --open --ssr
(node:40924) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time
(Use node --trace-warnings ... to show where the warning was created)
(node:40924) ExperimentalWarning: The Node.js specifier resolution flag is experimental. It could change or be removed at any time.
Error: "vitedge/dev/ts-loader.js '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:387:5)
at ESMLoader.resolve (node:internal/modules/esm/loader:849:13)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7)
at async Promise.all (index 0)
at ESMLoader.import (node:internal/modules/esm/loader:530:24)
at loadESM (node:internal/process/esm_loader:91:5)
at handleMainPromise (node:internal/modules/run_main:65:12)
Done in 1.69s.

How can I solve it? Thanks

@censujiang
Copy link

@frandiox same question #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants