Open Wolfgang51 opened 5 years ago
After some digging and debugging I found the issue was with Windows specifically. I have a suspicion that npm
had updated and installs karma
in a different directory that it used too. The reason I say that is that the setup of doo
, karma
and chrome-headless
used to work for us. To fix our issue, we manually pointed doo
to karma by adding the following to our project.clj
:paths {:karma "node_modules\\.bin\\karma"}
Note: the readme shows an example of this as
:doo {:paths {:karma "path/to/node_modules/karma/bin/karma"}}
This path will not work for windows so keep in mind that you need to use use escape characters for the windows path.
Thank you! We should update the docs with that information, I will leave this issue open until we do.
Hey there, I am trying to run test using
chrome-headless
. Per the documentation I ran the following commands inside my projectWhen I run my tests with
lein doo chrome-headless test once
I get the following errorI checked to make sure all the modules exist and they do, they are located in
./npm-modules/
. Moreover, I rankarma start
inside thenode_modules\.bin
and it didn't throw an error. Any ideas?