eslint-plugin-react-native
eslint-plugin-react-native copied to clipboard
TypeError: Cannot read property 'name' of undefined
Hi team,
In Typescript environment I am facing below issue, can you please let me know what I can do for this?
Oops! Something went wrong! :(
ESLint: 7.32.0
TypeError: Cannot read property 'name' of undefined
Occurred while linting .../index.tsx:157
at report (.../node_modules/eslint-plugin-react-native/lib/rules/no-raw-text.js:34:49)
at TemplateLiteral (.../node_modules/eslint-plugin-react-native/lib/rules/no-raw-text.js:85:9)
at .../node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (.../node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (.../node_modules/eslint/lib/linter/node-event-generator.js:293:26)
at NodeEventGenerator.applySelectors (.../node_modules/eslint/lib/linter/node-event-generator.js:322:22)
at NodeEventGenerator.enterNode (.../node_modules/eslint/lib/linter/node-event-generator.js:336:14)
at CodePathAnalyzer.enterNode (.../node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
at .../node_modules/eslint/lib/linter/linter.js:960:32