Appium code generates “SyntaxError: await is only valid in async function”

Currently am using latest one only