0
Package "@nrwl/workspace" has an incompatible peer dependency to "prettier" (requires "^1.19.1", would install "2.0.4")
× Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

How to fix this?

npm run update --force does not work

TmTron
  • 17,012
  • 10
  • 94
  • 142

1 Answers1

0

we can run ng update instead:

ng update @nrwl/workspace --force
Ardent Coder
  • 3,777
  • 9
  • 27
  • 53
TmTron
  • 17,012
  • 10
  • 94
  • 142