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
When we yarn install some tools like swc compiler and eslint are installed in node_modules based on the CPU architecture that it was run for the first time, consolidating it in yarn.lock.
Currently, yarn.lock references x64 libs, If I then switch to a M1 Mackbook, the monorepo stops working, since these tools don't run in the new architecture
Context
When we
yarn install
some tools likeswc
compiler andeslint
are installed innode_modules
based on the CPU architecture that it was run for the first time, consolidating it inyarn.lock
.Currently,
yarn.lock
referencesx64
libs, If I then switch to a M1 Mackbook, the monorepo stops working, since these tools don't run in the new architectureHow to solve
Since yarn v2, it offers a
supportedArchitectures
in itsyarnrc.yaml
filehttps://yarnpkg.com/configuration/yarnrc#supportedArchitectures
The text was updated successfully, but these errors were encountered: