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

NX doesnt install on my Macbook #26996

Closed
1 of 4 tasks
freezepro opened this issue Jul 18, 2024 · 2 comments
Closed
1 of 4 tasks

NX doesnt install on my Macbook #26996

freezepro opened this issue Jul 18, 2024 · 2 comments

Comments

@freezepro
Copy link

Current Behavior

I was trying to install NX via several commands via NPM, I am always getting following issue

node_modules/@nx/js/node_modules/nx/src/native/native-bindings.js:244
npm ERR! throw loadError
npm ERR! ^
npm ERR!
npm ERR! Error: Cannot find module '@nx/nx-darwin-arm64'
npm ERR! Require stack:...
Require stack:
npm ERR! - /Users/.../project/node_modules/@nx/js/node_modules/nx/src/native/index.js
npm ERR! - Users/.../project/node_modules/@nx/js/node_modules/nx/src/hasher/node-task-hasher-impl.js
npm ERR! -Users/.../project//node_modules/@nx/js/node_modules/nx/src/hasher/task-hasher.js

  1. I've removed packages lock json and node_modules folder and tried again ,
  2. tried to clean via npm cache clean --force
  3. when I am trying to run npm uninstall nx , getting same error as above.

my device is Apple M1 Pro
my Nodejs says I am on arm64

Expected Behavior

Has to install

GitHub Repo

No response

Steps to Reproduce

Nx Report

as it installed I think I have nothing for that

Failure Logs

No response

Package Manager Version

NPM 20.12.2

Operating System

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

Additional Information

No response

@FrozenPandaz
Copy link
Collaborator

Have you gone through this guide? https://nx.dev/troubleshooting/troubleshoot-nx-install-issues#troubleshoot-nx-installations

Also, do you have any flags that disable installing optional dependencies?

Copy link

github-actions bot commented Aug 2, 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 Aug 2, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants