Hello, I'm new to nim and started to look at some repos at github, I would like to try out karax but I'm having a hard time at executing command: nimble develop karax, witch returns:
nimble develop --debug --verbose karax
Reading official package list
Downloading https://github.com/pragmagic/karax using git
Setting Nim stdlib prefix to /usr
Setting Nim stdlib path to /usr/lib/nim
Info Hint: used config file '/etc/nim/nim.cfg' [Conf]
Error: Could not read package info file in ~/Projects/karax/karax.nimble;
... Reading as ini file failed with:
... Invalid section: .
... Evaluating as NimScript file failed with:
... /tmp/nimblecache/nimblepkg/nimscriptapi.nim(7, 18) Error: system module needs: string.
I already tried to clean ~/.nimble and /tmp/nimblecache, but the problem still persists.
My system: arch linux, nim version 0.19.9a and nimble v0.9.0
Can anyone help?
I don't know if there is any kind of conflict in my system
These are always fun.
Unfortunately my best bet is that Nimble gets confused about where you've (or rather your package manager) installed Nim: /usr/lib/nim. Can you try installing Nim locally? Like in ~/projects/nim?
Sorry, I know this sucks. We need to improve this error even further, or better yet make it impossible by using nim directly for executing nimble files.
Ok then, I'm gonna try it.
Thanks @dom96!