Sorry no really Nim but so urgent as 3 days no one responded.
Have one of the nim utility nimble installation error,
Downloading https://github.com/genotrance/nimterop using git
Verifying dependencies for [email protected]
Info: Dependency on regex@>= 0.15.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on unicodedb@>= 0.7.2 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on cligen@>= 1.0.0 already satisfied
Verifying dependencies for [email protected]
Installing [email protected]
Building nimterop/nimterop/loaf using c backend
Building nimterop/nimterop/toast using c backend
# Resetting /home/budi/.cache/nim/nimterop/nimterop/treesitter
stack trace: (most recent call last)
api.nim(9, 18) api
setup.nim(7, 10) treesitterSetup
shell.nim(366, 42) gitPull
shell.nim(335, 34) gitAtCheckout
shell.nim(90, 11) execAction
assertions.nim(38, 26) failedAssertImpl
assertions.nim(28, 11) raiseAssert
fatal.nim(53, 5) sysFatal
/usr/lib/nim/system/fatal.nim(53, 5) Error: unhandled exception: shell.nim(90, 7) `not die` Command failed: 128
cmd: cd /home/budi/.cache/nim/nimterop/nimterop/treesitter && git log --decorate --no-color -n 1 --format=oneline
result:
fatal: your current branch 'main' does not have any commits yet [AssertionDefect]
Any clear clue what it's and its solution?
Only thing I can think of is there is something wrong with your .cache directory. Can you try removing it and run the install again?
rm -rf /home/ane/.cache/nim/nimterop