-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TypeError: Cannot read property 'mtime' of undefined #1532
Comments
I had the same issue but solved it by changing all the file groups patterns ending from |
Ok, thanks. 👍 I will do that. |
Interesting, that this happens on non windows systems as well, this is mainly due to an issue in node-glob. Will have to do more digging. Thanks for the report |
One of my package users reported that changing the glob patterns from |
+1 for @fbengrid's workaround (i'm on a mac) Error snippet:
My Env:
|
+1 I have this issue fairly regularly on Ubuntu 14.04, using PyCharm 4.5 and the latest Karma plugin. karma package version 0.12.37:
Haven't found what causes it exactly, happens intermittently. I do get errors just before it, which may be related. But again are related to something the karma runner is doing with .ktp.ts files, not sure why they're failing:
|
I'm having this same issue and I can't find where to change the glob patterns. I'm on OS X Yosemite. node version 0.12.1 |
It may be of interest to note that on one of the projects I'm working on, we had a dev perform the workaround mentioned by @fbengrid , which subsequently resulted in a You might want to verify that the fix works cross-platform before patching in the suggested workaround. I'm using: |
Thank you @fbengrid. |
@shawmanz32na I do work mainly with windows environment (for the dev phase at least) but not on windows 10. @donaldpipowitch you're welcome, but it's the authors of this library who deserve our thanks for this great tool. :) |
@fbengrid We changed our glob pattern to |
Which conf file you referring? Can you paste the example please ? |
the configuration file referred to is the one presented on http://karma-runner.github.io/0.13/config/configuration-file.html |
Just ran into this yesterday and comment from earlier fixed it for me. |
Hi, my users get this error on Mac OS X with Karma 0.13.2. It's this line: https://github.com/karma-runner/karma/blob/v0.13.2/lib/file-list.js#L174 where
mg.statCache[path]
is undefined. Here is the Karma config that is used https://gist.github.com/Sanjo/fde7bf14768d6baf16e6.Maybe related to #1494.
The text was updated successfully, but these errors were encountered: