If I do lein figwheel and start Electron, everything works. But if I start lein repl and do (use 'figwheel-sidecar.repl-api) and (start-figwheel!) then when I start Electron I get the error:
Error: Can't pop empty vector
at cljs.core.PersistentVector.cljs$core$IStack$_pop$arity$1 (/home/oskar/typestack/out/cljs/core.js:18988:8)
at Object.cljs$core$_pop [as _pop] (/home/oskar/typestack/out/cljs/core.js:1777:13)
at cljs$core$pop (/home/oskar/typestack/out/cljs/core.js:6626:18)
at /home/oskar/typestack/out/figwheel/client/file_reloading.js:611:60
at /home/oskar/typestack/out/figwheel/client/file_reloading.js:660:3
at ContextifyScript.Script.runInThisContext (vm.js:26:33)
at Object.exports.runInThisContext (vm.js:79:17)
at nodeGlobalRequire (/home/oskar/typestack/out/goog/bootstrap/nodejs.js:87:6)
at global.CLOSURE_IMPORT_SCRIPT (/home/oskar/typestack/out/goog/bootstrap/nodejs.js:75:3)
at Object.goog.importScript_ (/home/oskar/typestack/out/goog/base.js:951:9)
And the prompt does not appear. I want to do it this way to be able to connect from Emacs/CIDER.
If I do
lein figwheel
and start Electron, everything works. But if I startlein repl
and do(use 'figwheel-sidecar.repl-api)
and(start-figwheel!)
then when I start Electron I get the error:And the prompt does not appear. I want to do it this way to be able to connect from Emacs/CIDER.
My
project.clj
is:My code is:
Any idea what could be wrong?