Closed doffltmiw closed 11 years ago
Changing
(let [launch-script (str "eval(require(\"fs\").readFileSync(\"" (load-as-tempfile "cljs/repl/node_repl.js") "\",\"utf8\"))")
to
(let [launch-script (str "eval(require('fs').readFileSync('" (string/replace (load-as-tempfile "cljs/repl/node_repl.js") "\\" "/") "','utf8'))")
solved the problem.
The double quote and backslash characters were causing the trouble.
When I start
lein trampoline noderepl
, I'm getting the following error.Here's my
project.clj
file.I'm running it with node 0.8.20 on Windows 8