Я получаю эту ошибку в своем нативном проекте React. Я не знаю почему. Недавно я обновил свою версию React Native, а затем получаю это. Я попытался удалить node_modules и снова переустановить его, но несколько раз, но ничего не работало. < /p>
Даже унижение версии React Native не работала. Вместо этого это дало еще одну ошибку, связанную с версией Kotlin. Что мне делать? Полем (156: 41) < /p>
154 | */
155 |
> 156 | const ActivityIndicatorWithRef: component(
| ^
157 | ref: React.RefSetter,
158 | ...props: Props
159 | ) = React.forwardRef(ActivityIndicator);```
Here is my react-native info -
``
System:
OS: Windows 11 10.0.26100
CPU: (4) x64 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
Memory: 510.18 MB / 7.80 GB
Binaries:
Node:
version: 18.17.0
path: C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm:
version: 10.9.0
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels:
- "31"
- "32"
- "33"
- "33"
- "34"
- "35"
Build Tools:
- 30.0.3
- 33.0.0
- 33.0.1
- 33.0.2
- 34.0.0
- 35.0.0
System Images:
- android-30 | Google APIs Intel x86 Atom
- android-33 | Google APIs Intel x86_64 Atom
Android NDK: 27.1.12297006
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: javac 20
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 15.1.3
wanted: ^15.1.3
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.77.0
wanted: ^0.77.0
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Подробнее здесь: https://stackoverflow.com/questions/779 ... dicator-ac
SyntaxError: node_modules \ React-C-Contive \ Libraries \ Components \ ActivityIndicator \ ActivityIndicator.js: отсутст ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Разъяснение: Как добавить пакет настройки в мое приложение в React-Contive
Anonymous » » в форуме IOS - 0 Ответы
- 4 Просмотры
-
Последнее сообщение Anonymous
-