Skip to content
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

Help suppressing "noise" middleware warning #3276

Closed
plroebuck opened this issue Feb 21, 2019 · 2 comments
Closed

Help suppressing "noise" middleware warning #3276

plroebuck opened this issue Feb 21, 2019 · 2 comments

Comments

@plroebuck
Copy link

Please tell me what needs to change in the config file to turn this warning off...
Apologies for not knowing enough about "karma" to fix my own problem...

Desired behaviour

Elimination of this middleware warning:
"WARN [middleware:karma]: Invalid file type, defaulting to js. browserify"

Actual behaviour

Just an example

Environment Details

  • Karma version (output of karma --version):
    Karma v3.1.4 server (per TravisCI output from link above)
  • Relevant part of your karma.config.js file
    karma.conf.js
@johnjbarton
Copy link
Contributor

This warning occurs when you tell karma to 'include' a file that it does not know how to include.
In your case some file you attempted to include ended in.browserify.

Note that the files is an array of patterns, not an array of globs:
http://karma-runner.github.io/3.0/config/files.html

@plroebuck
Copy link
Author

This warning occurs when you tell karma to 'include' a file that it does not know how to include.
In your case some file you attempted to include ended in.browserify.

For anyone else that has this problem, the solution is to upgrade the 'karma-browserify' module to at least v6.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants