Closed
Description
opened on Jun 30, 2015
After upgrading I get this stacktrace.
(...)/node_modules/eslint-plugin-react/lib/rules/prop-types.js:421
for (var k = 0, l = properties.length; k < l; k++) {
^
TypeError: Cannot read property 'length' of undefined
at markPropTypesAsUsed ((...)/node_modules/eslint-plugin-react/lib/rules/prop-types.js:421:39)
at EventEmitter.VariableDeclarator ((...)/node_modules/eslint-plugin-react/lib/rules/prop-types.js:549:7)
at EventEmitter.emit (events.js:129:20)
at Controller.controller.traverse.enter ((...)/node_modules/gulp-eslint/node_modules/eslint/lib/eslint.js:728:25)
at Controller.__execute ((...)/node_modules/gulp-eslint/node_modules/eslint/node_modules/estraverse/estraverse.js:393:31)
at Controller.traverse ((...)/node_modules/gulp-eslint/node_modules/eslint/node_modules/estraverse/estraverse.js:491:28)
at EventEmitter.module.exports.api.verify ((...)/node_modules/gulp-eslint/node_modules/eslint/lib/eslint.js:721:24)
at processText ((...)/node_modules/gulp-eslint/node_modules/eslint/lib/cli-engine.js:201:27)
at CLIEngine.executeOnText ((...)/node_modules/gulp-eslint/node_modules/eslint/lib/cli-engine.js:361:26)
at verify ((...)/node_modules/gulp-eslint/index.js:19:17)
at Transform._transform ((...)/node_modules/gulp-eslint/index.js:37:18)
at Transform._read (_stream_transform.js:179:10)
at Transform._write (_stream_transform.js:167:12)
at doWrite (_stream_writable.js:301:12)
at writeOrBuffer (_stream_writable.js:288:5)
at Transform.Writable.write (_stream_writable.js:217:11)
at write ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
at flow ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
at DestroyableTransform.pipeOnReadable ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
at DestroyableTransform.emit (events.js:104:17)
at emitReadable_ ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:448:10)
at emitReadable ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:444:5)
at readableAddChunk ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:187:9)
at DestroyableTransform.Readable.push ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:149:10)
at DestroyableTransform.Transform.push ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:145:32)
at afterTransform ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:101:12)
at TransformState.afterTransform ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:79:12)
at DestroyableTransform.noop [as _transform] ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/through2.js:26:3)
at DestroyableTransform.Transform._read ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
at DestroyableTransform.Transform._write ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
at doWrite ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at writeOrBuffer ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
at DestroyableTransform.Writable.write ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
at write ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
at flow ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
at DestroyableTransform.pipeOnReadable ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
at DestroyableTransform.emit (events.js:104:17)
at emitReadable_ ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:448:10)
at emitReadable ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:444:5)
at readableAddChunk ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:187:9)
at DestroyableTransform.Readable.push ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:149:10)
at DestroyableTransform.Transform.push ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:145:32)
at afterTransform ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:101:12)
at TransformState.afterTransform ((...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:79:12)
at (...)/node_modules/gulp/node_modules/vinyl-fs/lib/src/getContents/bufferFile.js:12:5
at evalmachine.<anonymous>:334:14
at (...)/node_modules/gulp/node_modules/vinyl-fs/node_modules/graceful-fs/graceful-fs.js:102:5
at FSReqWrap.oncomplete (evalmachine.<anonymous>:95:15)
I am using these dependencies
"devDependencies": {
"autoprefixer": "^5.2.0",
"babel": "^5.6.5",
"babel-eslint": "^3.1.17",
"babelify": "^6.1.2",
"browserify": "^10.2.4",
"chai": "^3.0.0",
"del": "^1.1.1",
"envify": "^3.2.0",
"es5-shim": "^4.1.7",
"eslint-plugin-react": "^2.5.2",
"gulp": "^3.9.0",
"gulp-babel": "^5.1.0",
"gulp-connect": "^2.2.0",
"gulp-eslint": "^0.14.0",
"gulp-if": "^1.2.5",
"gulp-mocha-phantomjs": "^0.6.1",
"gulp-notify": "^2.2.0",
"gulp-sourcemaps": "^1.5.2",
"gulp-util": "^3.0.2",
"gulp.spritesmith": "^3.7.0",
"install": "^0.1.8",
"mocha": "^2.2.5",
"npm": "^2.11.3",
"run-sequence": "^1.0.2",
"scssify": "^0.3.3",
"source-map-support": "^0.3.2",
"uglifyify": "^3.0.1",
"vinyl-buffer": "^1.0.0",
"vinyl-paths": "^1.0.0",
"vinyl-source-stream": "^1.0.0",
"watchify": "^3.2.2"
},
Metadata
Assignees
Labels
No labels
Activity