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
--loader flag in Vesktop package installation out of date
Steps to reproduce:
Attempting home-manager switch with pkgs.vesktop
Expected behavior
home-manager updates packages and switches
Terminal Output
> VencordDesktop@0.4.4 build /build/source
> tsx scripts/build/build.mts
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
Error: tsx must be loaded with --import instead of --loader
The --loader flag was deprecated in Node v20.6.0
at Q (file:///build/source/node_modules/tsx/dist/esm/index.mjs:1:1793)
at Hooks.addCustomLoader (node:internal/modules/esm/hooks:202:24)
at Hooks.register (node:internal/modules/esm/hooks:168:16)
at async initializeHooks (node:internal/modules/esm/utils:167:5)
at async customizedModuleWorker (node:internal/modules/esm/worker:104:24)
Node.js v18.19.1
ELIFECYCLE Command failed with exit code 1.
/nix/store/10i1kjjq5szjn1gp6418x8bc1hswqc90-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/8r6hvk43z84ccdf3ir01pvc2xqjcwj6a-vesktop-0.4.4.drv' failed with exit code 1;
last 10 log lines:
> The --loader flag was deprecated in Node v20.6.0
> at Q (file:///build/source/node_modules/tsx/dist/esm/index.mjs:1:1793)
> at Hooks.addCustomLoader (node:internal/modules/esm/hooks:202:24)
> at Hooks.register (node:internal/modules/esm/hooks:168:16)
> at async initializeHooks (node:internal/modules/esm/utils:167:5)
> at async customizedModuleWorker (node:internal/modules/esm/worker:104:24)
>
> Node.js v18.19.1
> ELIFECYCLE Command failed with exit code 1.
> /nix/store/10i1kjjq5szjn1gp6418x8bc1hswqc90-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
For full logs, run 'nix log /nix/store/8r6hvk43z84ccdf3ir01pvc2xqjcwj6a-vesktop-0.4.4.drv'.
error: 1 dependencies of derivation '/nix/store/np94cf4waid8mk9vv3gjyf7xyr371sgc-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xb5glrn7kfiijpzff8zicdf0ni4y40ii-home-manager-generation.drv' failed to build
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
--loader flag in Vesktop package installation out of date
Steps to reproduce:
home-manager switch
withpkgs.vesktop
Expected behavior
home-manager updates packages and switches
Terminal Output
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: