Skip to content

Commit

Permalink
fix upgrade.js error message (#7992)
Browse files Browse the repository at this point in the history
--force is no longer a valid option for yarn install (v3)
  • Loading branch information
thedavidprice authored and jtoar committed Apr 1, 2023
1 parent 7a7ebc8 commit 236287b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async function yarnInstall({ verbose }) {
)
} catch (e) {
throw new Error(
'Could not finish installation. Please run `yarn install --force`, before continuing'
'Could not finish installation. Please run `yarn install` and then `yarn dedupe`, before continuing'
)
}
}
Expand Down

0 comments on commit 236287b

Please sign in to comment.