xolvio / meteor-rtd-example-project

A template project to use for creating a meteor app with unit and webdriver testing
91 stars 27 forks source link

Unknown error #32

Open nicosommi opened 10 years ago

nicosommi commented 10 years ago

Hello I want to share this error. Isn't urgent for me but I think it's not right. It happens with this test project when I copy the karma.conf.js file to the test directory (for example to add firefox, but in this case I left it just the same, I just did the cp, if I remove it, it works ok, the same behavior for a custom project)

I tried with node v0.11 and v0.10

Here is the output with --debug:

bug@intag-vm1:~/workspace/meteor-rtd-example-project/test/rtd$ sudo grunt --debug 
Running "bgShell:killAll" (bgShell) task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-bg-shell/tasks/bg-shell.coffee

Running "downloadAndOrStartSelenium" task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/Gruntfile.js

Running "bgShell:startKarma" (bgShell) task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-bg-shell/tasks/bg-shell.coffee

Running "bgShell:synchronizeMirrorApp" (bgShell) task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-bg-shell/tasks/bg-shell.coffee

Running "bgShell:instrumentCode" (bgShell) task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-bg-shell/tasks/bg-shell.coffee
.
Processed [3] files in 0 secs

Running "bgShell:startMirrorApp" (bgShell) task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-bg-shell/tasks/bg-shell.coffee

Running "bgShell:startApp" (bgShell) task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-bg-shell/tasks/bg-shell.coffee

Running "pollServices" task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/Gruntfile.js
RTD is starting up...
[[[[[ ~/workspace/meteor-rtd-example-project/app ]]]]]

[[[[[ ~/workspace/meteor-rtd-example-project/build/mirror_app ]]]]]

=> Meteor 0.7.0.1 is available. Update this project with 'meteor update'.
=> Meteor server running on: http://localhost:3000/
=> Meteor 0.7.0.1 is available. Update this project with 'meteor update'.
Initializing mongo database... this may take a moment.
=> Meteor server running on: http://localhost:8000/

Running "outputPorts" task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/Gruntfile.js
Selenium-server on port 4444
Karma listener on port 9876
Karma runner on port 9100
Meteor on port 3000
Mirror on port 8000

Running "watch" task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-contrib-watch/tasks/watch.js
Waiting...OK
>> File "../../app/.meteor/packages" changed.
>> File "../../app/.meteor/local" deleted.
Running "jshint:app" (jshint) task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-contrib-jshint/tasks/jshint.js
>> 3 files lint free.

Running "jshint:test" (jshint) task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-contrib-jshint/tasks/jshint.js
>> 11 files lint free.

Running "bgShell:karmaRun" (bgShell) task
[D] Task source: /home/intag/workspace/meteor-rtd-example-project/test/rtd/node_modules/grunt-bg-shell/tasks/bg-shell.coffee

- - - Running unit tests - - -
[2014-01-30 18:24:25.066] [DEBUG] config - Loading config /home/intag/workspace/meteor-rtd-example-project/test/karma.conf.js
PhantomJS 1.9.7 (Linux): Executed 0 of 0 ERROR (0.234 secs / 0 secs)
PhantomJS 1.9.7 (Linux): Executed 0 of 0 ERROR (0.234 secs / 0 secs)
PhantomJS 1.9.7 (Linux): Executed 0 of 0 ERROR (0.234 secs / 0 secs)
PhantomJS 1.9.7 (Linux): Executed 0 of 0 ERROR (0.234 secs / 0 secs)
>> Error: Command failed:
Fatal error: Command failed: 

Completed in 7.598s at Thu Jan 30 2014 18:24:25 GMT-0300 (ART) - Waiting...