Yarn zip or yarn dev gives errors on fresh install

When I run yarn zip or yarn dev I get the errors as shown in the screenshot.
I’m using Windows.

I’d look to line 97, but everything is in one line and splitting doesn’t help me.
This is the unminified version of casper.js casper.js javascript code | WTOOLS

My gscan is showing no errors:
image

Any help is appreciated.