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

Missing Platform Dependency - v19.4.4 - darwin-x64 #27655

Closed
1 of 4 tasks
KaliaHayes opened this issue Aug 27, 2024 · 4 comments
Closed
1 of 4 tasks

Missing Platform Dependency - v19.4.4 - darwin-x64 #27655

KaliaHayes opened this issue Aug 27, 2024 · 4 comments

Comments

@KaliaHayes
Copy link

KaliaHayes commented Aug 27, 2024

Current Behavior

I am trying to solution #27263 by reverting from latest to Nx v19.4.4. Running into different issues on both versions.

Issues w/latest Nx:

I saw that it was recommended to revert to v19.4.4, which I did, but I'm now running into another set of issues.


Issues w/v19.4.4:

  • Cannot use the VSC Extension to run npx nx run angular-monorepo:serve task - getting:
NX   Missing Platform Dependency

The Nx CLI could not find or load the native binary for your supported platform (darwin-x64).
This likely means that optional dependencies were not installed correctly, or your system is missing some system dependencies.
For more information please see https://nx.dev/troubleshooting/troubleshoot-nx-install-issues


 *  The terminal process "/bin/zsh '-l', '-c', 'npx nx run angular-monorepo:serve'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

  • Running this same command manually works as intended

Expected Behavior

Expected behavior is to serve the application using the Nx VSC extension.

GitHub Repo

No response

Steps to Reproduce

  1. Run npx [email protected] angular-monorepo --preset=angular-monorepo
  2. Use the Nx VSC Extension to serve the application
  3. Followed troubleshooting steps listed - https://nx.dev/troubleshooting/troubleshoot-nx-install-issues#how-to-fix
  4. Delete node_modules and package-lock.json
  5. Run npm i
  6. Retry - failed

Nx Report

NX   Report complete - copy this into the issue template

Node   : 20.9.0
OS     : darwin-arm64
npm    : 10.1.0

nx (global)        : 19.4.4
nx                 : 19.4.4
@nx/js             : 19.4.4
@nx/jest           : 19.4.4
@nx/linter         : 19.4.4
@nx/eslint         : 19.4.4
@nx/workspace      : 19.4.4
@nx/angular        : 19.4.4
@nx/cypress        : 19.4.4
@nx/devkit         : 19.4.4
@nx/eslint-plugin  : 19.4.4
@nrwl/tao          : 19.4.4
@nx/web            : 19.4.4
@nx/webpack        : 19.4.4
typescript         : 5.4.5
---------------------------------------
Registered Plugins:
@nx/cypress/plugin
@nx/eslint/plugin

Failure Logs

NX   Missing Platform Dependency

The Nx CLI could not find or load the native binary for your supported platform (darwin-x64).
This likely means that optional dependencies were not installed correctly, or your system is missing some system dependencies.
For more information please see https://nx.dev/troubleshooting/troubleshoot-nx-install-issues


 *  The terminal process "/bin/zsh '-l', '-c', 'npx nx run puma-automation-ui:serve'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it.

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@nrwl nrwl deleted a comment from GoldenCaterpie Aug 27, 2024
@jaysoo jaysoo added the scope: core core nx functionality label Sep 25, 2024
@jaysoo jaysoo self-assigned this Sep 25, 2024
@jaysoo
Copy link
Member

jaysoo commented Sep 25, 2024

Hi @KaliaHayes, it is odd that you are on darwin-arm64 but getting a missing dep on darwin-x64. Perhaps you migrated your MacOS from an Intel (x64) machine to a machine with Apple Silicon (arm64)?

If that's the case, you will need to uninstall your toolchain, including Node, and reinstall them with the proper architecture.

Copy link

github-actions bot commented Oct 3, 2024

This issue has been automatically marked as stale because more information has not been provided within 7 days.
It will be closed in 21 days if no information is provided.
If information has been provided, please reply to keep it active.
Thanks for being a part of the Nx community! 🙏

@github-actions github-actions bot added the stale label Oct 3, 2024
@github-staff github-staff deleted a comment from yiweifengyan Oct 23, 2024
@github-actions github-actions bot removed the stale label Oct 24, 2024
Copy link

This issue has been automatically marked as stale because more information has not been provided within 7 days.
It will be closed in 21 days if no information is provided.
If information has been provided, please reply to keep it active.
Thanks for being a part of the Nx community! 🙏

@github-actions github-actions bot added the stale label Oct 31, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2024
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants