catchpoint / WebPageTest.agent

Cross-platform WebPageTest agent
Other
213 stars 138 forks source link

"SyntaxError: await is only valid in async function" issue in current master version #481

Closed anfe0690 closed 2 years ago

anfe0690 commented 2 years ago

Hello, I set up a private instance in a virtual machine with the master branch and I saw an error in the agent logs that disabled some Javascript functionality when using exec or execAndWait:

SyntaxError: await is only valid in async function

I had to replace the master branch for the release branch to make it work again. https://github.com/WPO-Foundation/wptagent-install/blob/master/debian.sh#L46

tkadlec commented 2 years ago

Thanks! Reverted the commit that caused that for now.