Closed vindarel closed 7 years ago
Regarding the second error: Are you running this from within the Karax repo or from a different place? It looks like for the time being you need a .nims
file which points --path
to your local karax/src
directory. Otherwise I'm getting this error as well just from a plain include karaxprelude
.
I am running this from within the Karax repo (karax/examples/todoapp
or just karax/
).
Strange, it works for from within the repo (using latest Nim devel). Maybe if you're on Windows, you have to change the path separator in the nims file?
I'm on Debian.
(btw if you want me to try something with a .nims
file and the --path
please explain, your precedent comment is cryptic to me :] )
The .nims
allows to specify an additional search path for the compiler. I think this was needed because of the dom
naming conflict of the dom module in the Nim standard library and Karax's extended dom module. Now that Karax's version is renamed to kdom
I think this is no longer needed.
You are using the latest master of Karax and latest devel of Nim and there is still the issue from above?
I got the latest master and it's beautiful now :) Very exciting.
Hi there, I wanted again to try Karax with Nim 0.17.0 and a "nimble install" at the project root gives me
If it is not necessary to do that (as discussed in https://github.com/pragmagic/karax/issues/2), then I have the same errors as discussed here https://github.com/pragmagic/karax/issues/6#issuecomment-299133321
meaning with
nim js todoapp.nim
: