Docker Yarn error

Two possible fixes:

  • Per the error message, you can add --force to the npm install line.
  • As it turns out, yarn version 1.22.19 is the base included with the node 18.15.0 image, so you can actually delete these two line.

Either way is fine

2 Likes