Comments (3)
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.
from doo.
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?
from doo.
@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.
from doo.
Related Issues (20)
- doo crashes with Clojure 1.9 HOT 3
- Subprocess fail with phantom on centos 7 HOT 2
- add support for :foreign-libs HOT 1
- WARNING: :preloads should only be specified with :none optimizations
- Test Reporting with Doo HOT 1
- Karma: custom file patterns for static resource loading HOT 7
- Plan for release 0.1.9 HOT 3
- How to prettify test reports in Karma? HOT 2
- Tests Fail to Run with Reagent 0.8.0 HOT 4
- Printing test failures with records currently broken HOT 3
- Use spell-spec and expound for better cli errors
- Make sure exit code is zero on unhandled promise rejection in node HOT 1
- junit plugin usage (possibly user error)
- Ability to log the test currently executed
- There is no planck support, despite the README stating it HOT 2
- Issues with testing with Chrome-headless HOT 2
- Error when running Nashorn with `:optimizations :whitespace`
- Consider different method of enabling printing for Node.js
- How do I filter tests?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doo.