meteor-casperjs icon indicating copy to clipboard operation
meteor-casperjs copied to clipboard

Exception in queued task: Error: ENOENT, no such file or directory

Open chip opened this issue 9 years ago • 27 comments

Hi, I'm trying to use this with velocity:html-reporter and am receiving the following error after clicking on the button in html-reporter that adds a Casperjs test:

meteor
[[[[[ ~/code/meteor.chipcastle.com ]]]]]      

=> Started proxy.                             
=> Started MongoDB.                           
=> Started your app.                          

=> App running at: http://localhost:3000/
I20141210-12:15:47.406(-6)? [casperjs] Run tests for file /Users/chip/code/meteor.chipcastle.com/tests/casperjs/sampleTest.coffee...
I20141210-12:15:48.219(-6)? Exception in queued task: Error: ENOENT, no such file or directory '/Users/chip/code/meteor.chipcastle.com/tests/.reports/casperjs/sampleTest.coffee.xml'
I20141210-12:15:48.220(-6)?     at Object.fs.openSync (fs.js:432:18)
I20141210-12:15:48.221(-6)?     at Object.fs.readFileSync (fs.js:289:15)
I20141210-12:15:48.221(-6)?     at parseReport (packages/nblazer:casperjs/nblazer:casperjs.coffee:74:17)
I20141210-12:15:48.221(-6)?     at Object.runTestFile (packages/nblazer:casperjs/nblazer:casperjs.coffee:61:1)
I20141210-12:15:48.221(-6)?     at observeChangesCallbacks.added (packages/minimongo/observe.js:153)
I20141210-12:15:48.221(-6)?     at self.applyChange.added (packages/minimongo/observe.js:53)
I20141210-12:15:48.221(-6)?     at packages/mongo/observe_multiplex.js:163
I20141210-12:15:48.221(-6)?     at Array.forEach (native)
I20141210-12:15:48.221(-6)?     at Function._.each._.forEach (packages/underscore/underscore.js:105)
I20141210-12:15:48.221(-6)?     at Object.task (packages/mongo/observe_multiplex.js:157)

My project has the following packages installed:

accounts-base                 1.1.2  A user account system
accounts-password             1.0.4  Password support for accounts
accounts-ui                   1.1.3  Simple templates to add login widgets to an app
alanning:roles                1.2.13  Role-based authorization
anti:fake                     0.4.1  Random text and data generator
cmather:handlebars-server     0.2.0* Allows handlebars templates to be defined on the server in .handlebars files
coffeescript                  1.0.4  Javascript dialect with fewer braces and semicolons
cunneen:mailgun               0.9.1  Easily send emails using Mailgun as your email provider.
dburles:collection-helpers    1.0.1  Transform your collections with helpers that you define
dburles:factory               0.3.7  Factories for Meteor
fuatsengul:iron-router-auth   1.0.7  Iron:Router Auth for 1.0
iron:router                   1.0.3  Routing specifically designed for Meteor
joshowens:accounts-entry      1.0.3  Make signin and signout their own pages with routes.
joshowens:simple-form         0.2.2  A meteorite package that makes building dynamic two way forms easy
less                          1.0.11  The dynamic stylesheet language
manuelschoebel:ms-seo         0.4.1  Easily config SEO for your routes
matb33:collection-hooks       0.7.6  Extends Mongo.Collection with before/after hooks for insert/update/remove/find/findOne
meteor-platform               1.2.0  Include a standard set of Meteor packages in your app
meteorhacks:zones             1.4.0  Zone.Js integration for meteor
mrt:moment                    2.8.1  Moment.js, a JavaScript date library for dates, packaged for Meteor. See http://momentjs.com.
mrt:underscore-string-latest  2.3.3  underscore.string repackaged for Meteor
nblazer:casperjs              0.1.6  CasperJS end to end test integration with velocity.
reywood:publish-composite     1.3.5  Publish a set of related documents from multiple collections with a reactive join
velocity:html-reporter        0.3.1  Reactive Velocity test reports in your app.
zimme:iron-router-active      1.0.1  Active route/path template helpers for iron:router

Any clues on how to fix or troubleshoot would be appreciated. Thanks. :smile:

chip avatar Dec 10 '14 18:12 chip