Open TimoKramer opened 6 years ago
Is your local phantomjs installation working correctly? Do you get the same error with Chrome or Firefox?
I ask because this just happened to me, but not because of phantomjs. I have a little gulp script that runs as part of the build phase and upgrading node cause this to break, and caused doo to fail with the same exception. Sorting out my little node issue and getting the gulp tasks to run again made the doo task function again.
I'm not sure if this a lein issue or a doo issue though.
Hi, @TimoKramer ,
You said "I cannot run them anymore". Can you please post the what has changed between the last time doo
worked and now?
Also, @kennethkalmer point is relevant, are you sure phantomjs itself is working properties and you don't have other tooling running?
@kennethkalmer thanks for your reply. I didn't succeed setting up karma on my linux so testing with chrome or firefox is not working at the moment. But with rhino it is not working with a different strange error message
lein with-profile test doo rhino once
2018-05-08 12:19:23,949 [main] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
;; ======================================================================
;; Testing with Rhino:
Error while loading file: "target/test.js"
ReferenceError: "Map" is not defined.
At line 1432
ERROR: doo was not loaded from the compiled script.
Make sure you start your tests using doo-tests or doo-all-tests
and that you include that file in your build
Error encountered performing task 'doo' with profile(s): 'dev,test,test'
Subprocess failed
I asked about this on slack some day but couldn't figure it out as well.
@bensu thanks for your reply. to be honest it is a few weeks ago that it occured and at that time I wasn't able to revert to a working state because at first I thought it was some update of a dep but it didn't work just reverting in git.
I am pretty sure now that it is a problem with leiningen but since I am beginner it is very hard to figure out. (https://clojurians.slack.com/archives/C053AK3F9/p1524480094000209). There is someone else that had the same problem (https://clojurians.slack.com/archives/C03S1L9DN/p1524602428000573) but didn't answer anymore.
I think the problem with doo is related to the problem with my repl but not sure on that.
Hi there, I encountered this problem a few weeks ago and already asked on slack about it. I was asked to post it here, sorry for the delay. Since I am new to clojurescript I am sorry if it is a trivial error.
Problem is that I can not run my tests with doo anymore. It returns following error:
my project.clj:
I would be glad to run my tests again because I guess it is no good not to do so. thanks in advance for any help! Timo