-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
项目启动报错的问题 #251
Comments
惭愧,不知道怎么解决。 |
Windows 下问题难以排查,建议使用 Linux,一劳永逸。 |
主要是不具备这个硬件条件 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: