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

TypeError: Cannot read property 'name' of undefined #308

Open
rkaartikeyan opened this issue Feb 4, 2022 · 0 comments
Open

TypeError: Cannot read property 'name' of undefined #308

rkaartikeyan opened this issue Feb 4, 2022 · 0 comments

Comments

@rkaartikeyan
Copy link

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