jshint / fixmyjs

Automatically fix silly lint errors.
http://fixmyjs.com
Other
971 stars 78 forks source link

Error with gulp #117

Closed simkessy closed 9 years ago

simkessy commented 9 years ago

I'm getting an error when I pass my files through using gulp.js, I have no clue where to begin troubleshooting.

{ [Error: Error when running fixmyjs:] plugin: 'gulp-fixmyjs', showStack: false, name: 'Error', message: 'Error when running fixmyjs:', stack: 'Error: Error when running fixmyjs:\n at Function.Fix.tme (

C:\Users \user\Dropbox\GitHub\spDash\node_modules\gulp-fixmyjs\node_modules\fixmyjs\lib\legacy.js:445:15)\n at Code.fix (

C:\Users\user\Dropbox\GitHub\spDash\node_modules\gulp-fixmyjs\node_modules\fixmyjs\lib\legacy.js:28:21)\n at Object.errors.(anonymous function) [as E043] (

C:\Users\user\Dropbox\GitHub\spDash\node_modules\gulp-fixmyjs\node_modules\fixmyjs\lib\legacy.js:517:19)\n at fixError (

C:\Users\user\Dropbox\GitHub\spDash\node_m odules\gulp-fixmyjs\node_modules\fixmyjs\lib\legacy.js:539:28)\n at

C:\Users\user\Dropbox\GitHub\spDash\node_modules\gulp-fixmyjs\node_modules\fixmyjs\lib\legacy.js:550:9\n at Array.forEach (native)\n at Object.api .run (

C:\Users\user\Dropbox\GitHub\spDash\node_modules\gulp-fixmyjs\node_modules\fixmyjs\lib\legacy.js:711:21)\n at fixJS (

C:\Users\user\Dropbox\GitHub\spDash\node_modules\gulp-fixmyjs\index.js:30:55)\n at DestroyableTransform. (

C:\Users\user\Dropbox\GitHub\spDash\node_modules\gulp-fixmyjs\index.js:56:38)\n at respond (

C:\Users\user\Dropbox\GitHub\spDash\node_modules\gulp-fixmyjs\node_modules\rcloader\index.js:68:7)

goatslacker commented 9 years ago

https://github.com/kirjs/gulp-fixmyjs

goatslacker commented 9 years ago

Looks like too many errors are reported by jshint and fixmyjs can't fix them. I recommend you bump up maxerr on your jshintrc to a larger number.