ERROR on latest update - FRAPPE_ENV=production node rollup/build.js

Hello, i have error on latest update

npm ERR! Failed at the frappe@ production script ‘FRAPPE_ENV=production node rollup/build.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the frappe package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! FRAPPE_ENV=production node rollup/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs frappe
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls frappe
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/frappe/frappe-bench/apps/frappe/npm-debug.log

Do you have yarn installed?

Thanks @JoEz, i install it now with command i found on the forum. This solved my problem.

sudo npm install -g yarn
bench update --requirements
bench setup socketio
bench build