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

[Bug] <Error while building the application> #881

Open
3 tasks done
KIRUYXAN opened this issue Sep 29, 2024 · 0 comments
Open
3 tasks done

[Bug] <Error while building the application> #881

KIRUYXAN opened this issue Sep 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KIRUYXAN
Copy link

KIRUYXAN commented Sep 29, 2024

Discord Account

KIRUYXAN

Operating System

Windows 10

Linux Only ~ Desktop Environment

No response

Package Type

Packaging

What happens when the bug or crash occurs?

I'm trying to build Vesktop, but in the console when I try to pnpm start/package it gives an error:

node:internal/process/esm_loader:46
      internalBinding('errors').triggerUncaughtException(
                                ^
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 'd:'
    at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
    at new NodeError (node:internal/errors:405:5)
    at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:138:11)
    at defaultLoad (node:internal/modules/esm/load:89:3)
    at nextLoad (node:internal/modules/esm/hooks:733:28)
    at load (file:///D:/Program%20Files/VesktopDev/node_modules/tsx/dist/esm/index.mjs:2:1768)
    at nextLoad (node:internal/modules/esm/hooks:733:28)
    at Hooks.load (node:internal/modules/esm/hooks:377:26)
    at handleMessage (node:internal/modules/esm/worker:168:24)
    at Immediate.checkForMessages (node:internal/modules/esm/worker:117:28)
    at process.processImmediate (node:internal/timers:478:21) {
  code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}

What is the expected behaviour?

Vesktop must run or build

How do you recreate this bug or crash?

Do everything according to "Building from Source"

Debug Logs

node:internal/process/esm_loader:46
      internalBinding('errors').triggerUncaughtException(
                                ^
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 'd:'
    at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
    at new NodeError (node:internal/errors:405:5)
    at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:138:11)
    at defaultLoad (node:internal/modules/esm/load:89:3)
    at nextLoad (node:internal/modules/esm/hooks:733:28)
    at load (file:///D:/Program%20Files/VesktopDev/node_modules/tsx/dist/esm/index.mjs:2:1768)
    at nextLoad (node:internal/modules/esm/hooks:733:28)
    at Hooks.load (node:internal/modules/esm/hooks:377:26)
    at handleMessage (node:internal/modules/esm/worker:168:24)
    at Immediate.checkForMessages (node:internal/modules/esm/worker:117:28)
    at process.processImmediate (node:internal/timers:478:21) {
  code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}

Request Agreement

  • I have searched the existing issues and found no similar issue
  • I am using the latest Vesktop and Vencord versions
  • This issue occurs on an official release (not just the AUR or Nix packages)
@KIRUYXAN KIRUYXAN added the bug Something isn't working label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant