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

The Nx CLI could not find or load the native binary for your supported platform (win32-x64) #26937

Closed
1 of 4 tasks
muhammaduxair opened this issue Jul 15, 2024 · 5 comments
Closed
1 of 4 tasks
Assignees
Labels

Comments

@muhammaduxair
Copy link

Current Behavior

I want to create a fresh nx workspace with preset of an Angular app but facing this issue:
image

Expected Behavior

No error message when creating new nx workspace in Windows (win32-x64)

GitHub Repo

No response

Steps to Reproduce

  1. run command npx create-nx-workspace@latest standalone-org --preset=angular-standalone

Nx Report

-

Failure Logs

NX   Missing Platform Dependency

The Nx CLI could not find or load the native binary for your supported platform (win32-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

Package Manager Version

No response

Operating System

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

Additional Information

No response

@chriscurnow
Copy link

Something is going on here. See #26930

@FrozenPandaz FrozenPandaz added the scope: core core nx functionality label Jul 16, 2024
@MaxKless
Copy link
Collaborator

Hey thanks for the report!
Did you go through the Nx Install troubleshooting guide?
Issues like this are often related to nvm or node installation issues.

https://nx.dev/troubleshooting/troubleshoot-nx-install-issues

Please let me know if you've gone through the steps in here and are still facing issues.

@chriscurnow
Copy link

@MaxKless Please see my comments in #26930.

I don't understand the troubleshooting guide.

Does it mean the whole initial installation, eg npx create-nx-workspace...?

In my case, that would be quite onerous. I have already gone through the whole installation process and that seemed to work. It is only when I issue an nx command I get the error message.

I did eventually find a pretty simple workaround that might help you trace the problem. See my comment here: #26930 (comment).

It is strange that this has just started happening. Over the years, I have created several angular mono repos for different clients, and this has never been a problem.

@muhammaduxair
Copy link
Author

@MaxKless when I went through the troubleshooting guide, I found a solution that worked for me: Microsoft Visual C++ Redistributable.

Thanks ❤️

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 Aug 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants