`--mutex` is not a valid argument in Yarn 2, current implementation does not allow users to exclude it, will be resolved with https://github.com/scalacenter/scalajs-bundler/pull/420. https://github.com/scalacenter/scalajs-bundler/blob/d083e6df3fe2ac795ae16ba69696039bf85f85a3/sbt-scalajs-bundler/src/main/scala/scalajsbundler/ExternalCommand.scala#L36