Closed aeberts closed 10 years ago
In its current state Flense can only be run with node-webkit, which you'll have to install separately. Once you've installed node-webkit you can run path/to/node-webkit path/to/flense
to fire it up.
This definitely ought to be documented – I'll put a note in the readme when I get a chance.
Note that you'll also have to manually install transitive npm dependencies – specifically mkdirp
, which should be pulled in automatically as part of the Leiningen build process but currently isn't. Investigating a way to make that happen.
Ha! I just figured that out and was adding a comment to this issue :-)
One thing that tripped me up was that there are 2 packages: mkdir
and mkdirp
(note the "p") - adding for the benefit of anyone else who might run into that issue.
My apologies if this is obvious but it's not clear from the README.md how to run the project.
Compiling using
lein cljsbuild once
succeeds but visitingflence/index.html
in a browser gives:Uncaught ReferenceError: require is not defined
in the JavaScript console.Environment: