nx
nx copied to clipboard
Missing Platform Dependency - v19.4.4 - darwin-x64
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:
- Cannot use the VSC Extension to run
npx nx run angular-monorepo:servetask - getting exact output as stated in #27263 - Running this same command manually works as intended
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:servetask - 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
- Run
npx [email protected] angular-monorepo --preset=angular-monorepo - Use the Nx VSC Extension to serve the application
- Followed troubleshooting steps listed - https://nx.dev/troubleshooting/troubleshoot-nx-install-issues#how-to-fix
- Delete
node_modulesandpackage-lock.json - Run
npm i - 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
- [X] macOS
- [ ] Linux
- [ ] Windows
- [ ] Other (Please specify)
Additional Information
No response