Skip to content

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

Open
@rkaartikeyan

Description

@rkaartikeyan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy