-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Labels
Newer Patch Available
Resolution: For Stack Overflow
A question for Stack Overflow. Applying this label will cause issue to be closed.
Comments
|
|
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
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
|
We can't help without looking at your code/project |
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.
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
The text was updated successfully, but these errors were encountered: