Today, the Shopify CLI service was generating an error for a period of time—at least, I encountered this error, and it later resolved itself.
Try using Yarn instead of NPM, switch to Node version 20 or 18, and repeat the process.
If there’s no result, the fact that it takes 10 minutes to execute indicates something is wrong.
From what I can see, it looks like you’re running the Shopify CLI on Linux. In that case, the simplest approach is to install a different version of Node or clear the Shopify package cache to ensure there are no errors.
Question:
Does this only happen with the shopify app init
command, or does it also happen with other commands like shopify theme info
?