vitessedge-template icon indicating copy to clipboard operation
vitessedge-template copied to clipboard

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.

Open Edge-coordinates opened this issue 1 year ago • 1 comments

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

Edge-coordinates avatar Aug 09 '23 12:08 Edge-coordinates

@frandiox same question #11

censujiang avatar Aug 12 '23 03:08 censujiang