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

jsx-no-bind: regression #1543

Closed
Andarist opened this issue Nov 18, 2017 · 2 comments
Closed

jsx-no-bind: regression #1543

Andarist opened this issue Nov 18, 2017 · 2 comments

Comments

@Andarist
Copy link
Contributor

I know this is not much, but I cannot dig into this deeper at the moment.

Module build failed: TypeError: Cannot read property 'type' of null
    at getNodeViolationType (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js:72:28)
    at VariableDeclarator (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js:139:39)
    at listeners.(anonymous function).forEach.listener (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/util/safe-emitter.js:47:58)
    at Array.forEach (<anonymous>:null:null)
    at Object.emit (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/util/safe-emitter.js:47:38)
    at NodeEventGenerator.applySelector (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/util/node-event-generator.js:251:26)
    at NodeEventGenerator.applySelectors (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/util/node-event-generator.js:280:22)
    at NodeEventGenerator.enterNode (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/util/node-event-generator.js:294:14)
    at CodePathAnalyzer.enterNode (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:608:23)
    at Traverser.enter (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/linter.js:959:32)
    at Traverser.__execute (/Users/mateuszburzynski/Desktop/chat-window/node_modules/estraverse/estraverse.js:397:31)
    at Traverser.traverse (/Users/mateuszburzynski/Desktop/chat-window/node_modules/estraverse/estraverse.js:501:28)
    at Traverser.traverse (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/util/traverser.js:31:22)
    at Linter._verifyWithoutProcessors (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/linter.js:956:19)
    at preprocess.map.textBlock (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/linter.js:997:35)
    at Array.map (<anonymous>:null:null)
    at Linter.verify (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/linter.js:996:42)
    at Linter.verifyAndFix (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/linter.js:1078:29)
    at processText (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/cli-engine.js:179:32)
    at CLIEngine.executeOnText (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint/lib/cli-engine.js:614:17)
    at lint (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint-loader/index.js:218:17)
    at Object.module.exports (/Users/mateuszburzynski/Desktop/chat-window/node_modules/eslint-loader/index.js:213:21)
@k1nger
Copy link

k1nger commented Nov 18, 2017

+1 just received the same error. Trying to look more into it right now.

@icd2k3
Copy link

icd2k3 commented Nov 18, 2017

Got this error after upgrading eslint-plugin-react from 7.4.0-> 7.5.0

yesmeck added a commit to ant-design/ant-design that referenced this issue Nov 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants