I am facing this error on bench update --reset

Try executing bench get-app frappe_theme and updating again

thanks for the reply.

I did that and got another error.

ReferenceError: Unknown plugin “transform-object-rest-spread” specified in “base” at 0

this repeats a bunch of times

it worked after all