Skip to content
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

404 Not Found [npx fix-dependencies] #3206

Closed
2 of 5 tasks
kunalSBasic opened this issue Jun 27, 2024 · 1 comment
Closed
2 of 5 tasks

404 Not Found [npx fix-dependencies] #3206

kunalSBasic opened this issue Jun 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kunalSBasic
Copy link

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.
Screenshot 2024-06-27 at 10 18 54 AM

Affected Package

fix-dependencies

Version

"react-native": "0.72.6"

Which platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows

System Information

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

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:

 "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

Code of Conduct

  • I agree to follow this project's Code of Conduct
@kunalSBasic kunalSBasic added the bug Something isn't working label Jun 27, 2024
@tido64
Copy link
Member

tido64 commented Jul 2, 2024

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

As this issue is unrelated to rnx-kit, I'm closing it.

@tido64 tido64 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants