You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just migrated using nx migrate from 16.0 to 16.5.3
I am running my application in a docker environment.
Now I get the following error when I try to run it : The Nx CLI could not find or load the native binary for your supported platform (linux-arm64).
I have seen the documentation that was provided to deal with such an issue. But there are several issues with it:
Our team does not use npm i on a regular basis, but rather npm ci both locally and on CI to ensure version consistency. Moreover, we have different OS in a team and it means that team members will not be able to run the same package versions locally using npm ci.
Although I can use npm i in docker, it will be an incorrect approach for me because I will not be able to run the same versions in CI.
How can I achieve the dependencies consistency in such case?
Expected Behavior
The applicaton is run correctly on all platforms with the same package versions.
NX Missing Platform Dependency
The Nx CLI could not find or load the native binary for your supported platform (linux-arm64).
This likely means that optional dependencies were not installed correctly, or your system is missing some system dependencies.
Package Manager Version
No response
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
I just migrated using nx migrate from 16.0 to 16.5.3
I am running my application in a docker environment.
Now I get the following error when I try to run it :
The Nx CLI could not find or load the native binary for your supported platform (linux-arm64).
I have seen the documentation that was provided to deal with such an issue. But there are several issues with it:
npm i
on a regular basis, but rathernpm ci
both locally and on CI to ensure version consistency. Moreover, we have different OS in a team and it means that team members will not be able to run the same package versions locally usingnpm ci
.npm i
in docker, it will be an incorrect approach for me because I will not be able to run the same versions in CI.How can I achieve the dependencies consistency in such case?
Expected Behavior
The applicaton is run correctly on all platforms with the same package versions.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
NX Missing Platform Dependency The Nx CLI could not find or load the native binary for your supported platform (linux-arm64). This likely means that optional dependencies were not installed correctly, or your system is missing some system dependencies.
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: