watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.1/15C65
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.20.1
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
info React Native v0.73.0 is now available (your project is running on v0.72.6).
Platforms
Android
Versions
Android: 11
iOS: NA
react-native-netinfo:
react-native: 0.72.6
react: 18.2.0
Description
building with gradle does not find root node_modules, because this is run inside a folder and one level extra is needed. The current code is:
Should be:
The extra ../ makes it work.
Reproducible Demo
You need to set up a monorepo with pnpm and hoisted.
Environment
System: OS: macOS 14.0 CPU: (8) arm64 Apple M2 Memory: 106.05 MB / 24.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 18.18.0 path: ~/.local/share/nvm/v18.18.0/bin/node Yarn: version: 1.22.21 path: ~/.local/share/nvm/v18.18.0/bin/yarn npm: version: 10.2.4 path: ~/.local/share/nvm/v18.18.0/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.11.3 path: /usr/local/bin/pod SDKs: iOS SDK: Platforms:
info React Native v0.73.0 is now available (your project is running on v0.72.6).
Platforms
Android
Versions
Description
building with gradle does not find root node_modules, because this is run inside a folder and one level extra is needed. The current code is:
Should be:
The extra ../ makes it work.
Reproducible Demo
You need to set up a monorepo with pnpm and hoisted.