Can run Shopify theme dev on the latest version of Shopify CLI 3.71.0

I encountered this error after upgrading the Shopify CLI to 3.71.0, Don’t know how to fix it.

Can someone help?

I’ve just upgraded to 3.71.0 and I have the same error.
It has already been reported on GitHub by several users: https://github.com/Shopify/cli/issues/5010

At the moment there is not much we can do if not rollback.
I rolled back to the previous version using this command (I am on Windows; I’m not sure about other OS).

npm install -g /cli@3.70.0