Yarn cannot update node, because node is outdated

I’m trying to update my Bench from v10 to v12.

However, Yarn always returns the same error:

[1/4] Resolving packages...
[2/4] Fetching packages...
error cypress-file-upload@3.1.0: The engine "node" is incompatible with this module. Expected version ">=8.2.1".
error An unexpected error occurred: "Found incompatible module".
info If you think this is a bug, please open a bug report with the information provided in "/home/frappe/frappe-bench/apps/frappe/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/upgrade for documentation about this command.

This happens even when I try to update node using yarn. Do I have to update node manually?


You can update node/yarn externally from the bench updates using CLI

curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -   #####v10.x
sudo apt install -y nodejs yarn
node -v && npm -v && yarn -v