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

[react-script] jsx-key Missing "key" prop for element in array when there is no array/iteration #12095

Open
shrijan00003 opened this issue Feb 25, 2022 · 0 comments

Comments

@shrijan00003
Copy link

shrijan00003 commented Feb 25, 2022

Describe the bug

I have upgraded the package react-scripts from "4.0.3" to "5.0.0".

I have got the "Missing "key" prop for element in array" everywhere on my codebase.

I hope this is the issue with [email protected]

Did you try recovering your dependencies?

  • yes

Environment

Environment Info:

  current version of create-react-app: 5.0.0
  running from /<user_name>/.npm/_npx/69132/lib/node_modules/create-react-app

  System:
    OS: macOS 11.2.3
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 14.17.0 - ~/.nvm/versions/node/v14.17.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 6.14.13 - ~/.nvm/versions/node/v14.17.0/bin/npm
  Browsers:
    Chrome: 98.0.4758.109
    Edge: Not Found
    Firefox: 96.0
    Safari: 14.0.3
  npmPackages:
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    react-scripts: ^5.0.0 => 5.0.0
  npmGlobalPackages:
    create-react-app: Not Found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant