meteor-rtd-example-project icon indicating copy to clipboard operation
meteor-rtd-example-project copied to clipboard

Custom karma.conf.js crashes rtd

Open Suaveit opened this issue 11 years ago • 10 comments

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

  • chmod, closeWebdriverSessions, default, downloadAndOrStartSelenium, outputPorts, pollServices, postLatestUnitCoverage, runOnce

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 avatar May 30 '14 07:05 Suaveit

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

Suaveit avatar May 30 '14 08:05 Suaveit

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

Suaveit avatar May 30 '14 09:05 Suaveit

Hi. Did you manage to get through this?

SamHatoum avatar Jun 17 '14 02:06 SamHatoum

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

boqapt avatar Jun 17 '14 07:06 boqapt

I closed by accident and then reopened it :)

SamHatoum avatar Jun 17 '14 07:06 SamHatoum

Can you recreate an example I can look at?

SamHatoum avatar Jun 17 '14 07:06 SamHatoum

What additional info do you ask for?

boqapt avatar Jun 17 '14 07:06 boqapt

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

SamHatoum avatar Jun 17 '14 07:06 SamHatoum

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

SamHatoum avatar Jun 17 '14 07:06 SamHatoum

I will create a minimal example project later

boqapt avatar Jun 17 '14 08:06 boqapt