Skip to content

Jshint failing #137

@jones139

Description

@jones139

On a fresh install on Centos 7, grunt build etc. failed with the following:

Running "jshint:main" (jshint) task
Warning: Path must be a string. Received null Use --force to continue.
Aborted due to warnings.

After a bit of searching I found a suggestion about it being the reporterOutput option, so modifying the Gruntfile.js to include:

    jshint: {
      main: {
        options: {
            jshintrc: '.jshintrc',
        reporterOutput:""
        },
        src: createFolderGlobs('*.js')
      }
    },

seems to have got it working. [I'm new to angular/grunt etc. so feel free to close this issue if it is me doing something wrong!]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions