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
node:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e:'
at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:239:11)
at defaultLoad (node:internal/modules/esm/load:120:3)
at nextLoad (node:internal/modules/esm/hooks:791:28)
at load (file:///E:/Project/own/Blog/surmon.me-main/node_modules/.pnpm/[email protected]/node_modules/tsx/dist/esm/index.mjs?1719991938273:2:1768)
at nextLoad (node:internal/modules/esm/hooks:791:28)
at Hooks.load (node:internal/modules/esm/hooks:383:26)
at handleMessage (node:internal/modules/esm/worker:255:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:157:28)
at process.processImmediate (node:internal/timers:478:21) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
Describe the bug
node:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e:'
at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:239:11)
at defaultLoad (node:internal/modules/esm/load:120:3)
at nextLoad (node:internal/modules/esm/hooks:791:28)
at load (file:///E:/Project/own/Blog/surmon.me-main/node_modules/.pnpm/[email protected]/node_modules/tsx/dist/esm/index.mjs?1719991938273:2:1768)
at nextLoad (node:internal/modules/esm/hooks:791:28)
at Hooks.load (node:internal/modules/esm/hooks:383:26)
at handleMessage (node:internal/modules/esm/worker:255:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:157:28)
at process.processImmediate (node:internal/timers:478:21) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
Reproduction
平台:win10
node版本:16 18 20 22的版本都试过均是次报错
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: