score:1

Accepted answer

In fact, instead of trying to --force the command about 10 times, we need to use the --legacy-peer-deps. Maybe force isn't the good choice everywhere.

npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps

Related Query

More Query from same tag