Shopify / shopify-app-template-node

MIT License
867 stars 391 forks source link

Unable to successfully create app and start development server using the Shopify CLI #1254

Closed Colin7780 closed 1 year ago

Colin7780 commented 1 year ago

Issue summary

Unable to create new app using the CLI.

After creating the app using npm init @shopify/app@latest then running npm run dev it displays the message "Using a different app than last time, sending uninstall webhook to app server" and never continues the process.

Before you preview your work, it needs to be associated with an app.

?  Create this project as a new app on Shopify?
✔  Yes, create it as a new app

?  App name:
✔  test2

?  Which store would you like to use to view your project?
✔  CartBloom Staging

Using a different app than last time, sending uninstall webhook to app server
2023-03-28 23:45:38 | webhooks | Sending APP_UNINSTALLED webhook to app server
2023-03-28 23:45:38 | webhooks | App isn't responding yet, retrying in 5 seconds
2023-03-28 23:45:43 | webhooks | App isn't responding yet, retrying in 5 seconds
2023-03-28 23:45:48 | webhooks | App isn't responding yet, retrying in 5 seconds
2023-03-28 23:45:53 | webhooks | App hasn't started in time, giving up
2023-03-28 23:45:53 | webhooks | APP_UNINSTALLED webhook delivery failed

Expected behavior

According to the docs I should get a preview URL

Actual behavior

The terminal shows the message "Using a different app than last time, sending uninstall webhook to app server" and seems to freeze after the webhook fails.

Steps to reproduce the problem

Follow the steps from https://shopify.dev/docs/apps/getting-started/create