Open SvtinDoda opened 2 years ago
Can you give more details? Run react-native info
Can you give more details? Run
react-native info
It says unknown command Can it be because I am running it with ReNative instead of straight react native?
I am having the exact same issue.
react-native info output :
System:
OS: Windows 10 10.0.19044
CPU: (16) x64 AMD Ryzen 7 4800H with Radeon Graphics
Memory: 3.20 GB / 15.37 GB
Binaries:
Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.5.5 - C:\Program Files\nodejs\npm.CMD
Watchman: 20220501.130507.0 - C:\ProgramData\chocolatey\bin\watchman.EXE
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Version 2021.1.0.0 AI-211.7628.21.2111.8139111
Visual Studio: Not Found
Languages:
Java: 11.0.14.1 - C:\Program Files\ojdkbuild\java-11-openjdk-11.0.14-2\bin\javac.EXE
Python: 3.10.4 - C:\Users\advyt\AppData\Local\Programs\Python\Python310\python.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.1 => 0.63.1
react-native-windows: Not Found
npmGlobalPackages:
*react-native*: Not Found
Error
TypeError: Super expression must either be null or a function
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
If I just add
import nodejs from 'nodejs-mobile-react-native';
to my code I get the errorsTypeError: Super expression must either be null or a function
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
Any idea what am I doing wrong?
I am using ReNative