It looks like you need to upgrade to the latest version of Shopify CLI.
npm run shopify upgrade
Nick Wesselman | Shopify - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution - To learn more visit the Shopify Help Center or the Shopify Blog