-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Error is: "The system can not find the specified file".
Probably because C:\Users\runneradmin\
is not a user on my system ...?
This is the powershell result:
PS ~ > irm https://dvm.deno.dev | iex
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 520k 100 520k 0 0 455k 0 0:00:01 0:00:01 --:--:-- 456k
Dvm was installed successfully to C:\Users\banana\.dvm\bin\dvm.exe
⠙ Fixing...
thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\set_env-1.3.4\src\lib.rs:46:40:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "Das System kann die angegebene Datei nicht finden." }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Run 'dvm --help' to get started
Result:
C:\Users\banana\.dvm\bin\dvm.exe
does exist.
dvn
can not be called from outside the install dir.
Workaround
added to $profile
New-Alias -Name dvn -Value C:\Users\banana\.dvm\bin\dvm.exe
e.g.
Add-Content $profile "`nNew-Alias -Name dvn -Value C:\Users\banana\.dvm\bin\dvm.exe`n"
... Note: Windows 11 - Security might block writing to that file.
Metadata
Metadata
Assignees
Labels
No labels