dom96 / choosenim

Tool for easily installing and managing multiple versions of the Nim programming language.
BSD 3-Clause "New" or "Revised" License
681 stars 64 forks source link

Got an error while installing #300

Closed delijati closed 2 years ago

delijati commented 2 years ago

Machine:

❯ lsb_release -a
LSB Version:    n/a
Distributor ID: ManjaroLinux
Description:    Manjaro Linux
Release:    21.3.1
Codename:   Ruah

Error:

+ /tmp/choosenim-0.8.4_linux_amd64 stable --firstInstall
    Prompt: Can choosenim record and send anonymised telemetry data? [y/n]
        ... Anonymous aggregate user analytics allow us to prioritise
        ... fixes and features based on how, where and when people use Nim.
        ... For more details see: https://goo.gl/NzUEPf.
    Answer: n
Downloading Nim 1.6.6 from nim-lang.org
[##################################################] 100.0% 0kb/s
 Extracting nim-1.6.6-linux_x64.tar.xz
 Extracting nim-1.6.6-linux_x64.tar
/__w/choosenim/choosenim/src/choosenim.nim(350) choosenim
/__w/choosenim/choosenim/src/choosenim.nim(340) performAction
/__w/choosenim/choosenim/src/choosenim.nim(124) choose
/__w/choosenim/choosenim/src/choosenim.nim(111) chooseVersion
/__w/choosenim/choosenim/src/choosenim.nim(31) installVersion
/__w/choosenim/choosenim/src/choosenimpkg/utils.nim(67) extract
/__w/choosenim/choosenim/src/choosenimpkg/utils.nim(71) extract
/__w/choosenim/choosenim/nimDir/lib/pure/os.nim(2459) removeDir
/__w/choosenim/choosenim/nimDir/lib/pure/os.nim(2458) removeDir
/__w/choosenim/choosenim/nimDir/lib/pure/os.nim(1986) removeFile
/__w/choosenim/choosenim/nimDir/lib/pure/includes/oserr.nim(95) raiseOSError
Error: unhandled exception: Permission denied
Additional info: /tmp/choosenim-extraction/nim-1.6.6/install.sh [OSError]
delijati commented 2 years ago

Sorry my bad had to remove previous downloaded file /tmp/choosenim-extraction/nim-1.6.6/install.sh