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

Jshint failing #137

Open
jones139 opened this issue Oct 27, 2016 · 0 comments
Open

Jshint failing #137

jones139 opened this issue Oct 27, 2016 · 0 comments

Comments

@jones139
Copy link

jones139 commented Oct 27, 2016

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!]

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

1 participant