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

Error after upgrading to v0.72.0 #41795

Closed
alek0712 opened this issue Dec 4, 2023 · 4 comments
Closed

Error after upgrading to v0.72.0 #41795

alek0712 opened this issue Dec 4, 2023 · 4 comments
Labels
Newer Patch Available Resolution: For Stack Overflow A question for Stack Overflow. Applying this label will cause issue to be closed.

Comments

@alek0712
Copy link

alek0712 commented Dec 4, 2023

Description

I recently upgrade my app from 0.71.0 to 0.72 using the upgrade-helper. When I run my app, either on Android or iOS, Im getting this error message on all my components that display on screen: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: number.

I look around and some suggested that this is an import issue but all my components are export as default and imported without the curly brackets as suggested.

React Native Version

0.72.7

Output of npx react-native info

System:
OS: Windows 10 10.0.19045
CPU: "(12) x64 AMD Ryzen 5 5600X 6-Core Processor "
Memory: 3.34 GB / 15.92 GB
Binaries:
Node:
version: 18.12.1
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 3.5.0
path: C:\Program Files\nodejs\yarn.CMD
npm:
version: 9.7.1
path: C:\Program Files\nodejs\npm.CMD
Watchman:
version: 20230408.180552.0
path: C:\ProgramData\chocolatey\bin\watchman.EXE
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-222.4459.24.2221.9862592
Visual Studio: Not Found
Languages:
Java:
version: 11.0.18
path: /c/Program Files/Microsoft/jdk-11.0.18.10-hotspot/bin/javac
Ruby:
version: 2.4.4
path: C:\Ruby24-x64\bin\ruby.EXE
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.7
wanted: ^0.72.0
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

Steps to reproduce

There are no steps.

Snack, screenshot, or link to a repository

image

Copy link

github-actions bot commented Dec 4, 2023

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.72.7. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

Copy link

github-actions bot commented Dec 4, 2023

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@github-actions github-actions bot added the Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. label Dec 4, 2023
@cortinico cortinico added Resolution: For Stack Overflow A question for Stack Overflow. Applying this label will cause issue to be closed. and removed Needs: Triage 🔍 Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Dec 5, 2023
Copy link

github-actions bot commented Dec 5, 2023

⚠️ Issue is a Question
ℹ️ We are using GitHub issues exclusively to track bugs in the core React Native library. Please try asking over on Stack Overflow as it is better suited for this type of question.

@cortinico
Copy link
Contributor

We can't help without looking at your code/project

@github-actions github-actions bot closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Newer Patch Available Resolution: For Stack Overflow A question for Stack Overflow. Applying this label will cause issue to be closed.
Projects
None yet
Development

No branches or pull requests

2 participants