nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.84k stars 2.38k forks source link

Bad Platform Issue #28579

Closed thomasweigert91 closed 1 month ago

thomasweigert91 commented 1 month ago

Current Behavior

When I try to commit my stand, this fails. Vercel gives me the following error:

npm error code EBADPLATFORM npm error notsup Unsupported platform for @nx/nx-darwin-arm64@20.0.3: wanted {"os":"darwin","cpu":"arm64"} (current: {"os":"linux","cpu":"x64"}) npm error notsup Valid os: darwin npm error notsup Actual os: linux npm error notsup Valid cpu: arm64 npm error notsup Actual cpu: x64 npm error A complete log of this run can be found in: /vercel/.npm/_logs/2024-10-23T09_16_19_234Z-debug-0.log Error: Command " npm i --legacy-peer-deps" exited with 1

I am using a Mac with an ARM64 Chipset. I have already reinstalled node, deleted my package-lock, deleted the node_modules. Reinstalled VSCode. Everything. First of all, I couldn't even start the NX Server, but uninstalling the NX Console helped.

Expected Behavior

Problem-free commit of my code and build of the app

GitHub Repo

No response

Steps to Reproduce

  1. commit code
  2. let Vercel build

Nx Report

NX Report complete - copy this into the issue template

Node : 18.17.1 OS : darwin-arm64 npm : 9.6.7

nx : 17.3.2 @nx/js : 17.3.2 @nx/jest : 17.3.2 @nx/linter : 17.3.2 @nx/eslint : 17.3.2 @nx/workspace : 17.3.2 @nx/cypress : 17.3.2 @nx/devkit : 17.3.2 @nx/eslint-plugin : 17.3.2 @nx/next : 17.3.2 @nx/react : 17.3.2 @nrwl/tao : 17.3.2 @nx/vite : 17.3.2 @nx/web : 17.3.2 typescript : 5.6.3

Community plugins: @webpro/nx-tsc : 0.0.1

Failure Logs

No response

Package Manager Version

No response

Operating System

Additional Information

No response

github-actions[bot] commented 1 week ago

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.