We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/anmonteiro/lumo had problems with Boot-cljs 2.1
❯ boot test Compiling ClojureScript... • lumo_test/test_suite.js ;; ====================================================================== ;; Testing with Node: module.js:487 throw err; ^ Error: Cannot find module '/home/juho/.boot/cache/tmp/home/juho/Source/lumo/a6t/3lgroc/lumo_test/lumo_test/test_suite.out/goog/bootstrap/nodejs.js'
Previously the default asset-path happened to be correct, due to bug in Boot-cljs: #156 Also related: 3cd7195
Manually setting :asset-path on boot-cljs-test fixes this. There might be bug at boot-cljs-test code: https://github.com/crisptrutski/boot-cljs-test/blob/master/src/crisptrutski/boot_cljs_test/utils.clj#L101 But there could be something wrong with boot-cljs test also as this broke between 2.0 and 2.1.
:asset-path
The text was updated successfully, but these errors were encountered:
This does work:
(deftask test-node [] (testing) (cljs :compiler-options {:optimizations :none :main 'lumo.test-runner :verbose true ; :asset-path "main.out" :compiler-stats true :target :nodejs}) )
Sorry, something went wrong.
Breaks PhantomJS also:
~/Source/metosin/metosin-common master* 19s ❯ boot run-tests Compiling ClojureScript... • cljs_test/generated_test_suite.js ;; ====================================================================== ;; Testing with Phantom: ClojureScript could not load :main, did you forget to specify :asset-path? ReferenceError: Can't find variable: goog
No branches or pull requests
https://github.com/anmonteiro/lumo had problems with Boot-cljs 2.1
Previously the default asset-path happened to be correct, due to bug in Boot-cljs: #156
Also related: 3cd7195
Manually setting
:asset-path
on boot-cljs-test fixes this. There might be bug at boot-cljs-test code: https://github.com/crisptrutski/boot-cljs-test/blob/master/src/crisptrutski/boot_cljs_test/utils.clj#L101 But there could be something wrong with boot-cljs test also as this broke between 2.0 and 2.1.The text was updated successfully, but these errors were encountered: