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

Failure to support nx monorepos. #1581

Open
1 task done
dominicmule opened this issue Nov 4, 2024 · 0 comments
Open
1 task done

Failure to support nx monorepos. #1581

dominicmule opened this issue Nov 4, 2024 · 0 comments

Comments

@dominicmule
Copy link

Describe the bug

when I create a Nx monorepo, it fails to run and throws this error: "The Nx CLI could not find or load the native binary for your supported platform (linux-x64). This likely means that optional dependencies were not installed correctly, or your system is missing some system dependencies."

When I try to install nx globally, I get this error: "npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator."

Link to the blitz that caused the error

https://stackblitz.com/edit/sb1-uqxtvz?file=.vscode%2Fsettings.json

Steps to reproduce

  1. Create a nx monorepo project.
  2. Run it, it will throw the first error.
  3. Install nx globally using yarn global add @nrwl/cli , it will throw the second error.

Expected behavior

It should run effeciently without blocking me from installing nx globally.

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 130.0.0.0
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 67288657,
  "usedJSHeapSize": 63688377,
  "jsHeapSizeLimit": 2160066560
}
Hash = 34c588ed

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant