Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example from karax readme: Error: cannot open 'vdom' #2

Closed
garyrob opened this issue Apr 19, 2017 · 5 comments
Closed

Example from karax readme: Error: cannot open 'vdom' #2

garyrob opened this issue Apr 19, 2017 · 5 comments

Comments

@garyrob
Copy link

garyrob commented Apr 19, 2017

I wanted to give karax a try on my MacBook Pro with Nim 0.16.0 installed, starting with the very first example on the readme, but in iTerm I got:

$ cd examples/todoapp
$ nim js todoapp.nim
Hint: used config file '/usr/local/Cellar/nim/0.16.0/nim/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: todoapp [Processing]
todoapp.nim(2, 8) Error: cannot open 'vdom'

@haiodo
Copy link
Contributor

haiodo commented Apr 19, 2017

Hi,
You need to do nimble install from karax root folder.

@haiodo
Copy link
Contributor

haiodo commented Apr 19, 2017

Fixed readme to include nimble install before try demo.

@haiodo haiodo closed this as completed Apr 19, 2017
@Araq
Copy link
Collaborator

Araq commented Apr 19, 2017

You need to do nimble install from karax root folder.

No you don't. ;-) But you need Nim's development version (0.16.1) to be able to compile it.

@haiodo
Copy link
Contributor

haiodo commented Apr 19, 2017

Sorry missed .nims file. But for use in custom apps it is still required I think

@zacharycarter
Copy link

This is actually still an issue.
Even with a nims file, karax modules are unable to be imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants