You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello people,
I am using vnu with grunt-html and for writing HTML report I am using grunt-html-html-reporter. I have the following setup:
Gruntfile.js (initConfig)
htmllint: {
options: {
errorlevels: ['error'], // For now we only look at errors.
force: true,
reporter: './node_modules/grunt-html-html-reporter',
reporterOutput: 'nu-report.html',
// Stuff to ignore while validating
ignore: ['Attribute “type” not allowed on element “i” at this point.']
},
all: {
src: ['dist/xx/*.html', 'dist/xxx/templates/**/*.html']
}
}
You could try running grunt --verbose. If the NPM module loader prints the complete stack trace, it will point to the file, where the failure occurred.
Do you have the Gruntfile in a subdirectory? You could try '../node_modules/grunt-html-html-reporter'. But doesn't make sense, because you get the report generated.
The message "Local Npm module" sounds like coming from the load-grunt-tasks module. But a reporter is not a Grunt task. It has no directory tasks in the package. Confusing.
Hello people,
I am using
vnu
withgrunt-html
and for writing HTML report I am usinggrunt-html-html-reporter
. I have the following setup:Gruntfile.js (initConfig)
And I load it with:
In my package.JSON I have the following:
I deleted my node_modeules folder and run
npm install
, but still when I rungrunt nu
I am getting the following error:But I get a HTML report in the end. I would love to understand what happens, cause it is so confusing with that error, which is actually not an error.
The text was updated successfully, but these errors were encountered: