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
The other devs don't have an issue as they're on windows, but I got this:
At the yarn install step in Dockerfile:
@parcel/watcher@npm:2.0.4 must be built because it never has been before or the last one failed
58.74 ➤ │ @parcel/watcher@npm:2.0.4 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-3b5244bb/build.log)
58.74 ➤ │ nx@npm:16.10.0 [72f3e] must be built because it never has been before or the last one failed
When investigating further, it seems @parcel/watcher@2.0.4 has some issues with ARM/Apple Silicon.
I fixed the error by adding
"resolutions": {
"@parcel/watcher": "2.3.0"
},
in our package.json. This fixes the docker build.
Expected Behavior
Don't fail at yarn in Dockerfile.
GitHub Repo
No response
Steps to Reproduce
Build dockerfile with yarn and NX (16.10.0)
Nx Report
\
Failure Logs
No response
Package Manager Version
yarn v3.6.4
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
We have recently introduced NX to our monorepo. We build our application with docker like this:
The other devs don't have an issue as they're on windows, but I got this:
At the yarn install step in Dockerfile:
When investigating further, it seems @parcel/watcher@2.0.4 has some issues with ARM/Apple Silicon.
I fixed the error by adding
in our package.json. This fixes the docker build.
Expected Behavior
Don't fail at
yarn
in Dockerfile.GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
yarn v3.6.4
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: