Skip to content
New issue

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

ENOENT error in 0.3.6 #67

Closed
pdkovacs opened this issue Sep 29, 2015 · 5 comments
Closed

ENOENT error in 0.3.6 #67

pdkovacs opened this issue Sep 29, 2015 · 5 comments

Comments

@pdkovacs
Copy link

v0.3.6 started to fail with in our environment:

Firefox 35.0.0 (Ubuntu 0.0.0): Executed 648 of 648 SUCCESS (3.967 secs / 3.86 secs)
 �[33mWARN [reporter.junit]: �[39mCannot write JUnit xml
     ENOENT, open '/data/slave/npsci/workspace/xxxx/front-end/test-reports/Firefox_35.0.0_(Ubuntu_0.0.0)/test-results.xml'
@haywoood
Copy link

Ya, we're seeing the same issue in v0.3.6.

@redowl
Copy link

redowl commented Sep 29, 2015

+1 - seeing the same issue with builds in a Bamboo environment

@afilp
Copy link

afilp commented Sep 30, 2015

+1, I also have the following message:
30 09 2015 16:30:14.399:WARN [reporter.junit]: Cannot write JUnit xml

Also, I used to write my XML file at projectroot/coverage/test-results.xml with an old version. Now I see that you add the PhantomJS_1.9.8_(Windows_8_0.0.0) folder too. Since we are using JENKINS and create the coverage from different machines, how can I please NOT include this folder? This is what I have in my karma.conf file:

        junitReporter: {
            outputFile: 'coverage/test-results.xml',
            suite: ''
        },

adriaanthomas pushed a commit to adriaanthomas/karma-junit-reporter that referenced this issue Sep 30, 2015
dignifiedquire added a commit that referenced this issue Sep 30, 2015
fix(reporter): bug creating directory when outputFile specified (#67)
@adriaanthomas
Copy link
Contributor

This is fixed in #70. Until a new version is released, you can use this in your package.json:

    "karma-junit-reporter": "karma-runner/karma-junit-reporter#ab9b155",

@dignifiedquire
Copy link
Member

Fixed in the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants