nim-lang / nimble

Package manager for the Nim programming language.
Other
1.24k stars 174 forks source link

when using nimble - it's looking in the wrong folder for things #1212

Open mhekel opened 2 months ago

mhekel commented 2 months ago

Ok i got nim to install and ran koch tools and then when i went to install something ( nasher ) i got this:

         C:\tools\Nim\nim-2.0.0>nimble install nasher
            Downloading https://github.com/squattingmonk/nasher.nim using git
             Tip: 3 messages have been suppressed, use --verbose to show them.
packageparser.nim(395)   readPackageInfo

           Error:  Could not read package info file in C:\Users\username\AppData\Local\Temp\nimble_8048\githubcom_squattingmonknashernim\nasher.nimble;
        ...   Reading as ini file failed with:
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with:
        ...     Error: cannot open 'C:\Users\username\AppData\Local\Microsoft\WinGet\lib\system.nim'
        ... printPkgInfo() failed. 

the biggest issue i have is Why is it looking here: C:\Users\mheke\AppData\Local\Microsoft\WinGet\lib\system.nim' for that file? i didnt use winget to install it in the first place