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

Custom karma.conf.js crashes rtd #40

Open Suaveit opened 10 years ago

Suaveit commented 10 years ago

I added rtd for my project. Everything was ok, sourcefiles were watched and when I had changed any of them rtd performed its operations - jshint, tests etc. Then I added my own karma.conf.js. Copied it from /var/web-clips/web-clips/node_modules/rtd/karma.conf.js to /var/web-clips/web-clips/test/karma.conf.js and changed basePath to '..'.

After that when rtd is running and I change any of my sourcefiles the following error appears: Fatal error: ENOENT, no such file or directory '/var/web-clips/web-clips/app/.meteor/local/.build173469.build/'

Piece of log: ..... Loading "Gruntfile.js" tasks...OK

Running tasks: jshint:app, jshint:test, coffeelint:app, coffeelint:test, bgShell:karmaRun, bgShell:synchronizeMirrorApp, bgShell:instrumentCode, bgShell:runTests, postLatestUnitCoverage, bgShell:killReports, bgShell:runCoverageCheck Verifying property jshint.app exists in config...OK Files: [skipped] Options: force=false, reporterOutput=null Fatal error: ENOENT, no such file or directory '/var/web-clips/web-clips/app/.meteor/local/.build173469.build/'

Suaveit commented 10 years ago

Can you please at least tell me which of libraries generates filename ".build[number].build"?

Suaveit commented 10 years ago

Actually it wasn't related to custom karma.conf.js because I finally got this error without custom karma.conf.js too. It is not related to jshint too because it appears after disabling jshint in custom rtd.conf.js

samhatoum commented 10 years ago

Hi. Did you manage to get through this?

boqapt commented 10 years ago

Hi. I didn't and I don't know why did you close it.

samhatoum commented 10 years ago

I closed by accident and then reopened it :)

samhatoum commented 10 years ago

Can you recreate an example I can look at?

boqapt commented 10 years ago

What additional info do you ask for?

samhatoum commented 10 years ago

I mean a codebase I can clone from github and see the error. It's difficult to understand from the above

samhatoum commented 10 years ago

I need to reproduce it basically so I can fix/work with it

boqapt commented 10 years ago

I will create a minimal example project later