Zaktualizuj przędzę globalną
# yarn self-update globally
yarn set version latest -g
Jatin Sharma
# yarn self-update globally
yarn set version latest -g
yarn global add <package>@latest