`mochaInstance.reporters.HTML ... 'undefined' is not an object`
leegee opened this issue · comments
Lee Goddard commented
I know it's something I've done wrong, but I can't work it out — does this look familiar?
Warning: TypeError: 'undefined' is not an object (evaluating 'mochaInstance.reporters.HTML')
at undefined (/Users/lgoddard2/src/require-html5-boilerplate-jquery-mocha/node_modules/grunt-mocha/phantomjs/bridge.js:69)
at undefined (/Users/lgoddard2/src/require-html5-boilerplate-jquery-mocha/node_modules/grunt-mocha/phantomjs/bridge.js:100) Use --force to continue.
Kelly Miyashiro commented
Can't say without getting more info. Looks like mocha is not loaded.
Kelly Miyashiro commented
Make sure you are still loading mocha.js
in your html file.
Lee Goddard commented
Thanks for your reply. I'll double check.