We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was following the docs as mentioned https://microsoft.github.io/rnx-kit/docs/guides/dependency-management Although while running the command npx fix-dependencies I got the error of which I am attaching the screenshot below.
npx fix-dependencies
fix-dependencies
"react-native": "0.72.6"
System: OS: macOS 14.5 CPU: (8) arm64 Apple M1 Memory: 196.88 MB / 8.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 16.20.1 path: ~/.nvm/versions/node/v16.20.1/bin/node Yarn: version: 1.22.22 path: /opt/homebrew/bin/yarn npm: version: 6.14.18 path: ~/.nvm/versions/node/v16.20.1/bin/npm Watchman: version: 2024.05.06.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.15.2 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 23.5 - iOS 17.5 - macOS 14.5 - tvOS 17.5 - visionOS 1.2 - watchOS 10.5 Android SDK: API Levels: - "31" - "32" - "33" - "34" Build Tools: - 30.0.3 - 31.0.0 - 33.0.0 - 33.0.2 - 34.0.0 System Images: - android-28 | Google APIs ARM 64 v8a - android-31 | Google APIs ARM 64 v8a - android-33 | Google APIs ARM 64 v8a - android-33 | Google APIs ATD ARM 64 v8a - android-34 | Google APIs ARM 64 v8a - android-34 | Google Play ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2024.1 AI-241.15989.150.2411.11948838 Xcode: version: 15.4/15F31d path: /usr/bin/xcodebuild Languages: Java: version: 17.0.10 path: /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/javac Ruby: version: 2.6.10 path: /usr/bin/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.72.6 wanted: 0.72.6 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: Not found newArchEnabled: Not found
In the react-native project at root run the command npm add --save-dev @rnx-kit/align-deps Then add the following scripts command in package.json:
npm add --save-dev @rnx-kit/align-deps
"scripts": { "check-dependencies": "rnx-align-deps", "fix-dependencies": "rnx-align-deps --write" }
Then run the command npx rnx-align-deps --init app At last run npx fix-dependencies
npx rnx-align-deps --init app
The text was updated successfully, but these errors were encountered:
To run a script, you need to run npm run <script>. You should read the npm documentation here: https://docs.npmjs.com/cli/v10/commands/npm-run-script
npm run <script>
As this issue is unrelated to rnx-kit, I'm closing it.
Sorry, something went wrong.
No branches or pull requests
What happened?
I was following the docs as mentioned https://microsoft.github.io/rnx-kit/docs/guides/dependency-management
Although while running the command
npx fix-dependencies
I got the error of which I am attaching the screenshot below.Affected Package
fix-dependencies
Version
"react-native": "0.72.6"
Which platforms are you seeing this issue on?
System Information
Steps to Reproduce
In the react-native project at root run the command
npm add --save-dev @rnx-kit/align-deps
Then add the following scripts command in package.json:
Then run the command
npx rnx-align-deps --init app
At last run
npx fix-dependencies
Code of Conduct
The text was updated successfully, but these errors were encountered: