cli: [Bug]: npm run dev fails on default node app after `Using a different app than last time, sending uninstall webhook to app server`
Please confirm that you have:
- Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
- Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
App
Expected behavior
When I create a new node app and run npm run dev I expect it to take me through the configuration and provide an app url i can visit to install the app. This is for a new app on a new dev store where I have installed no apps before.
Actual behavior
Instead, it always tries to process an APP_UNINSTALL webhook on http://localhost:[some-random-port]/api/webhooks, receives no response, and fails. I never receive the app url output, and it is not configured in the app settings in admin (just has default example.com stuff).
Using a different app than last time, sending uninstall webhook to app server
Verbose output
? Which store would you like to use to view your project?
✔ buildpath2
2023-03-15T03:56:31.100Z: Storing app information for directory [REDACTED]inventory-sync:{
"appId": "[REDACTED]",
"title": "inventory-sync",
"directory": "[REDACTED]",
"storeFqdn": "[REDACTED]",
"orgId": "344828"
}
2023-03-15T03:56:31.186Z: Sending "Partners" GraphQL request:
query fetchSpecifications($api_key: String!) {
extensionSpecifications(apiKey: $api_key) {
name
externalName
externalIdentifier
identifier
gated
options {
managementExperience
registrationLimit
}
features {
argo {
surface
}
}
}
}
With variables:
{
"api_key": "[REDACTED]"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T03:56:31.447Z: Request to https://partners.shopify.com/api/cli/graphql completed in 253 m
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"926c769eab017ef99b12377312319ab5"
- x-request-id: 648f560f-1c1b-44c9-b6ef-93b2fc40bdb2
2023-03-15T03:56:31.469Z: Reading the content of file at shopify.app.toml...
2023-03-15T03:56:31.478Z: Reading the content of file at package.json...
2023-03-15T03:56:31.479Z: Reading the content of file at package.json...
2023-03-15T03:56:31.480Z: Obtaining the dependency manager in directory [REDACTED]/inventory-sync...
2023-03-15T03:56:33.928Z: Reading the content of file at package.json...
2023-03-15T03:56:33.929Z: Unable to decide project type as no web backend
2023-03-15T03:56:33.966Z: Reading the content of file at package.json...
Using a different app than last time, sending uninstall webhook to app server
2023-03-15T03:56:33.967Z: Getting a random port...
2023-03-15T03:56:33.975Z: Getting a random port...
2023-03-15T03:56:33.982Z: Sending "Partners" GraphQL request:
query getApp($apiKey: String!) {
app(apiKey: $apiKey) {
applicationUrl
redirectUrlWhitelist
}
}
With variables:
{
"apiKey": "[REDACTED]"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T03:56:33.998Z: Random port obtained: 61806
2023-03-15T03:56:33.998Z: Random port obtained: 61807
2023-03-15T03:56:34.274Z: Request to https://partners.shopify.com/api/cli/graphql completed in 286 m
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"5a16b09d9238f3410334636a8eb408d6"
- x-request-id: e92d53fa-6411-4151-9ff6-78a43cfa2887
2023-03-15T03:56:35.483Z: Obtaining the dependency manager in directory [REDACTED]/inventory-sync...
2023-03-15T03:56:35.517Z:
Running system process:
· Command: ruby -v
· Working directory: [REDACTED]
2023-03-15T03:56:35.649Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 10
With response headers:
- x-request-id: 68ef8df2-eb44-40ed-aff6-fe42a2156801
2023-03-15T03:56:35.651Z: Analytics event sent: {
"command": "app dev",
"time_start": 1678852469451,
"time_end": 1678852595468,
"total_time": 126017,
"success": true,
"cli_version": "3.44.1",
"ruby_version": "3.0.4",
"node_version": "18.0.0",
"is_employee": false,
"uname": "windows amd64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-did-you-meangin-ngrok\"]",
"env_shell": "cmd.exe",
"env_device_id": "f2c296cbbbd4fb84dfe47c4f81026c3ccaf614ea",
"env_cloud": "localhost",
"env_package_manager": "npm",
"partner_id": 344828,
"api_key": "[REDACTED]",
"app_extensions_any": false,
"app_extensions_breakdown": "{}",
"app_extensions_count": 0,
"app_extensions_custom_layout": false,
"app_extensions_function_any": false,
"app_extensions_function_count": 0,
"app_extensions_function_custom_layout": false,
"app_extensions_theme_any": false,
"app_extensions_theme_count": 0,
"app_extensions_theme_custom_layout": false,
"app_extensions_ui_any": false,
"app_extensions_ui_count": 0,
"app_extensions_ui_custom_layout": false,
"app_name_hash": "54822ed6aebbe3bc4a7495ca374f0780a545290b",
"app_path_hash": "eae6ba810774719380ee5b52c719577308d88c28",
"app_scopes": "[\"write_products\"]",
"app_web_backend_any": false,
"app_web_backend_count": 0,
"app_web_custom_layout": false,
"app_web_frontend_any": false,
"app_web_frontend_count": 0,
"env_package_manager_workspaces": false,
"cmd_dev_tunnel_type": "ngrok",
"cmd_dev_urls_updated": false,
"store_fqdn_hash": "beb4defb3ecbaa3df21743b00d8d12eb618cb145",
"cmd_app_dependency_installation_skipped": false,
"cmd_app_reset_used": true,
"cmd_all_launcher": "npm",
"cmd_all_topic": "app",
"cmd_all_plugin": "@shopify/app",
"cmd_all_verbose": true,
"cmd_all_path_override": false,
"args": "--reset --verbose",
"app_name": "inventory-sync",
"store_fqdn": "[REDACTED]",
"env_plugin_installed_all": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-did-you-mean\",\ngrok\"]",
"metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2023-03-15T03:56:35.661Z: Sending "Partners" GraphQL request:
query getApiVersions {
publicApiVersions
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T03:56:35.993Z: Request to https://partners.shopify.com/api/cli/graphql completed in 324 m
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"01dddfbab41517947dd797d96231d4a3"
- x-request-id: d7c421c9-b26f-490b-a835-929393fc6133
2023-03-15T03:56:35.994Z: Sending "Partners" GraphQL request:
mutation samplePayload($topic: String!, $api_version: String!, $address: String!, $delivery_methodd_secret: String!) {
sendSampleWebhook(input: {topic: $topic, apiVersion: $api_version, address: $address, deliveryMeethod, sharedSecret: $shared_secret}) {
samplePayload
success
headers
userErrors {
message
}
}
}
With variables:
{
"topic": "app/uninstalled",
"api_version": "2023-01",
"address": "http://localhost:61807/api/webhooks",
"delivery_method": "localhost",
"shared_secret": "[REDACTED]"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T03:56:36.333Z: Request to https://partners.shopify.com/api/cli/graphql completed in 333 m
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"51efc63ada5632b4e3d3ba0d25ddf28d"
- x-request-id: 379919d0-3739-49d1-ba3d-cbc3127d4c4f
2023-03-15 03:56:36 | webhooks | Sending APP_UNINSTALLED webhook to app server
2023-03-15 03:56:36 | webhooks | App isn't responding yet, retrying in 5 seconds
2023-03-15 03:56:41 | webhooks | App isn't responding yet, retrying in 5 seconds
2023-03-15 03:56:46 | webhooks | App isn't responding yet, retrying in 5 seconds
2023-03-15 03:56:51 | webhooks | App hasn't started in time, giving up
2023-03-15 03:56:51 | webhooks | APP_UNINSTALLED webhook delivery failed
2023-03-15T03:56:51.390Z: Obtaining the dependency manager in directory [REDACTED]/inventory-sync...
2023-03-15T03:56:51.422Z:
Running system process:
· Command: ruby -v
· Working directory: [REDACTED]
2023-03-15T03:56:51.547Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 10
With response headers:
- x-request-id: 7327b977-df3f-4a6a-92e7-248fa02c8d92
2023-03-15T03:56:51.548Z: Analytics event sent: {
"command": "app dev",
"time_start": 1678852469451,
"time_end": 1678852611383,
"total_time": 141932,
"success": true,
"cli_version": "3.44.1",
"ruby_version": "3.0.4",
"node_version": "18.0.0",
"is_employee": false,
"uname": "windows amd64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-did-you-meangin-ngrok\"]",
"env_shell": "cmd.exe",
"env_device_id": "f2c296cbbbd4fb84dfe47c4f81026c3ccaf614ea",
"env_cloud": "localhost",
"env_package_manager": "npm",
"partner_id": 344828,
"api_key": "[REDACTED]",
"app_extensions_any": false,
"app_extensions_breakdown": "{}",
"app_extensions_count": 0,
"app_extensions_custom_layout": false,
"app_extensions_function_any": false,
"app_extensions_function_count": 0,
"app_extensions_function_custom_layout": false,
"app_extensions_theme_any": false,
"app_extensions_theme_count": 0,
"app_extensions_theme_custom_layout": false,
"app_extensions_ui_any": false,
"app_extensions_ui_count": 0,
"app_extensions_ui_custom_layout": false,
"app_name_hash": "54822ed6aebbe3bc4a7495ca374f0780a545290b",
"app_path_hash": "eae6ba810774719380ee5b52c719577308d88c28",
"app_scopes": "[\"write_products\"]",
"app_web_backend_any": false,
"app_web_backend_count": 0,
"app_web_custom_layout": false,
"app_web_frontend_any": false,
"app_web_frontend_count": 0,
"env_package_manager_workspaces": false,
"cmd_dev_tunnel_type": "ngrok",
"cmd_dev_urls_updated": false,
"store_fqdn_hash": "beb4defb3ecbaa3df21743b00d8d12eb618cb145",
"cmd_app_dependency_installation_skipped": false,
"cmd_app_reset_used": true,
"cmd_all_launcher": "npm",
"cmd_all_topic": "app",
> npm run dev -- --reset --verbose
> inventory-sync@1.0.0 dev
> shopify app dev "--reset" "--verbose"
2023-03-15T04:12:24.854Z: Running command app dev
2023-03-15T04:12:24.863Z: Ensuring that the user is authenticated with the Partners API with the following scopes:
[]
2023-03-15T04:12:24.865Z: Getting session store...
2023-03-15T04:12:24.868Z: Validating existing session against the scopes:
[
"openid",
"https://api.shopify.com/auth/shop.admin.graphql",
"https://api.shopify.com/auth/shop.admin.themes",
"https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
"https://api.shopify.com/auth/shop.storefront-renderer.devtools",
"https://api.shopify.com/auth/partners.app.cli.access"
]
For applications:
{
"partnersApi": {
"scopes": []
}
}
2023-03-15T04:12:24.870Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspec
tion
2023-03-15T04:12:24.870Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:25.140Z: Request to https://accounts.shopify.com/oauth/introspection completed in 259 ms
With response headers:
- cache-control: no-cache, no-store, private, must-revalidate, max-age=0
- content-type: application/json; charset=utf-8
- etag: W/"0e43e8b983060a538f0d671201adaf13"
- x-request-id: 7cbb19d0-3f40-4b6b-83b0-0b4a2e478bcb
2023-03-15T04:12:25.143Z: The identity token is valid: true
2023-03-15T04:12:25.144Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false
2023-03-15T04:12:25.144Z: Verifying that the user has a Partner organization
2023-03-15T04:12:25.145Z: Sending "Partners" GraphQL request:
{
organizations(first: 1) {
nodes {
id
}
}
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:25.448Z: Request to https://partners.shopify.com/api/cli/graphql completed in 285 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"5bdd2449c17068f6c8ca5ad7e87d55d7"
- x-request-id: 7ff87df6-40fc-46f6-8a49-898745f55e2e
2023-03-15T04:12:25.449Z: Clearing app information for directory [REDACTED]...
2023-03-15T04:12:25.674Z: Reading cached app information for directory [REDACTED]...
2023-03-15T04:12:25.675Z: Sending "Partners" GraphQL request:
{
organizations(first: 200) {
nodes {
id
businessName
website
appsNext
}
}
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:25.900Z: Request to https://partners.shopify.com/api/cli/graphql completed in 218 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"02a9d239dca70de49e824751904aabb2"
- x-request-id: ebdbd6b5-d3a9-4b1a-903d-e60b5d282573
? Which Partners organization is this work for?
✔ BuildPath
2023-03-15T04:12:28.188Z: Sending "Partners" GraphQL request:
query FindOrganization($id: ID!) {
organizations(id: $id, first: 1) {
nodes {
id
businessName
website
appsNext
}
}
}
With variables:
{
"id": "344828"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:28.438Z: Request to https://partners.shopify.com/api/cli/graphql completed in 243 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"6b94a867546d792d294a312274bfae66"
- x-request-id: 22216eb5-e7cd-41b2-8905-acce5c52dc63
2023-03-15T04:12:28.439Z: Sending "Partners" GraphQL request:
query FindOrganization($id: ID!, $title: String) {
organizations(id: $id, first: 1) {
nodes {
id
businessName
website
appsNext
apps(first: 25, title: $title) {
pageInfo {
hasNextPage
}
nodes {
id
title
apiKey
}
}
}
}
}
With variables:
{
"id": "344828"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:28.667Z: Request to https://partners.shopify.com/api/cli/graphql completed in 221 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"22a817fdd55514cdf6737e1bfedda40b"
- x-request-id: 4bfa512a-70fa-4b4f-89f0-9496f2f330cd
2023-03-15T04:12:28.669Z: Reading the content of file at package.json...
Before you preview your work, it needs to be associated with an app.
? Create this project as a new app on Shopify?
✔ No, connect it to an existing app
? Which existing app is this for?
✔ inventory-sync
2023-03-15T04:12:34.233Z: Sending "Partners" GraphQL request:
query FindApp($apiKey: String!) {
app(apiKey: $apiKey) {
id
title
apiKey
organizationId
apiSecretKeys {
secret
}
appType
grantedScopes
}
}
With variables:
{
"apiKey": "[REDACTED]"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:34.704Z: Request to https://partners.shopify.com/api/cli/graphql completed in 465 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"8504db62d135c8e2d78e68c9af173244"
- x-request-id: e2d7f1be-08d4-4155-b0b0-c435cb97ed82
2023-03-15T04:12:34.705Z: Sending "Partners" GraphQL request:
query FindOrganization($id: ID!) {
organizations(id: $id, first: 1) {
nodes {
id
stores(first: 500, archived: false, type: [DEVELOPMENT, PLUS_SANDBOX]) {
nodes {
shopId
link
shopDomain
shopName
transferDisabled
convertableToPartnerTest
}
}
}
}
}
With variables:
{
"id": "344828"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:34.943Z: Request to https://partners.shopify.com/api/cli/graphql completed in 232 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"fe346ac186b01274da339d707a16b4fe"
- x-request-id: 3ab0d152-fb5f-49ba-9262-7d5aedd9097b
? Which store would you like to use to view your project?
✔ buildpath2
2023-03-15T04:12:37.281Z: Storing app information for directory [REDACTED]:{
"appId": "[REDACTED]",
"title": "inventory-sync",
"directory": "[REDACTED]",
"storeFqdn": "[REDACTED]",
"orgId": "344828"
}
2023-03-15T04:12:37.455Z: Sending "Partners" GraphQL request:
query fetchSpecifications($api_key: String!) {
extensionSpecifications(apiKey: $api_key) {
name
externalName
externalIdentifier
identifier
gated
options {
managementExperience
registrationLimit
}
features {
argo {
surface
}
}
}
}
With variables:
{
"api_key": "[REDACTED]"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:37.716Z: Request to https://partners.shopify.com/api/cli/graphql completed in 253 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"926c769eab017ef99b12377312319ab5"
- x-request-id: 1d3835b6-ef7a-4530-a440-37d3bc1798fe
2023-03-15T04:12:37.738Z: Reading the content of file at shopify.app.toml...
2023-03-15T04:12:37.747Z: Reading the content of file at package.json...
2023-03-15T04:12:37.748Z: Reading the content of file at package.json...
2023-03-15T04:12:37.749Z: Obtaining the dependency manager in directory [REDACTED]...
2023-03-15T04:12:40.651Z: Reading the content of file at package.json...
2023-03-15T04:12:40.652Z: Unable to decide project type as no web backend
2023-03-15T04:12:40.692Z: Reading the content of file at package.json...
Using a different app than last time, sending uninstall webhook to app server
2023-03-15T04:12:40.693Z: Getting a random port...
2023-03-15T04:12:40.700Z: Getting a random port...
2023-03-15T04:12:40.705Z: Sending "Partners" GraphQL request:
query getApp($apiKey: String!) {
app(apiKey: $apiKey) {
applicationUrl
redirectUrlWhitelist
}
}
With variables:
{
"apiKey": "[REDACTED]"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:40.720Z: Random port obtained: 62019
2023-03-15T04:12:40.720Z: Random port obtained: 62020
2023-03-15T04:12:40.984Z: Request to https://partners.shopify.com/api/cli/graphql completed in 272 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"784402ccd31939cb8d4692084cd92a4a"
- x-request-id: 82814257-57a4-4a2f-9adb-eda15acafca7
2023-03-15T04:12:42.191Z: Obtaining the dependency manager in directory [REDACTED]...
2023-03-15T04:12:42.226Z:
Running system process:
· Command: ruby -v
· Working directory: [REDACTED]
2023-03-15T04:12:42.393Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 145 ms
With response headers:
- x-request-id: ee2dc3c8-03b6-4430-8cdf-ca74edc0d3a0
2023-03-15T04:12:42.394Z: Analytics event sent: {
"command": "app dev",
"time_start": 1678853544856,
"time_end": 1678853562178,
"total_time": 17322,
"success": true,
"cli_version": "3.44.1",
"ruby_version": "3.0.4",
"node_version": "18.0.0",
"is_employee": false,
"uname": "windows amd64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-did-you-mean\",\"@shopify/plugin-ngrok\"]",
"env_shell": "cmd.exe",
"env_device_id": "f2c296cbbbd4fb84dfe47c4f81026c3ccaf614ea",
"env_cloud": "localhost",
"env_package_manager": "npm",
"partner_id": 344828,
"api_key": "[REDACTED]",
"app_extensions_any": false,
"app_extensions_breakdown": "{}",
"app_extensions_count": 0,
"app_extensions_custom_layout": false,
"app_extensions_function_any": false,
"app_extensions_function_count": 0,
"app_extensions_function_custom_layout": false,
"app_extensions_theme_any": false,
"app_extensions_theme_count": 0,
"app_extensions_theme_custom_layout": false,
"app_extensions_ui_any": false,
"app_extensions_ui_count": 0,
"app_extensions_ui_custom_layout": false,
"app_name_hash": "54822ed6aebbe3bc4a7495ca374f0780a545290b",
"app_path_hash": "eae6ba810774719380ee5b52c719577308d88c28",
"app_scopes": "[\"write_products\"]",
"app_web_backend_any": false,
"app_web_backend_count": 0,
"app_web_custom_layout": false,
"app_web_frontend_any": false,
"app_web_frontend_count": 0,
"env_package_manager_workspaces": false,
"cmd_dev_tunnel_type": "ngrok",
"cmd_dev_urls_updated": false,
"store_fqdn_hash": "beb4defb3ecbaa3df21743b00d8d12eb618cb145",
"cmd_app_dependency_installation_skipped": false,
"cmd_app_reset_used": true,
"cmd_all_launcher": "npm",
"cmd_all_topic": "app",
"cmd_all_plugin": "@shopify/app",
"cmd_all_verbose": true,
"cmd_all_path_override": false,
"args": "--reset --verbose",
"app_name": "inventory-sync",
"store_fqdn": "[REDACTED]",
"env_plugin_installed_all": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-did-you-mean\",\"@shopify/plugin-ngrok\"]",
"metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2023-03-15T04:12:42.403Z: Sending "Partners" GraphQL request:
query getApiVersions {
publicApiVersions
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:42.713Z: Request to https://partners.shopify.com/api/cli/graphql completed in 305 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"01dddfbab41517947dd797d96231d4a3"
- x-request-id: e163d1a6-fdbf-473d-8e19-d5968ed2cd46
2023-03-15T04:12:42.715Z: Sending "Partners" GraphQL request:
mutation samplePayload($topic: String!, $api_version: String!, $address: String!, $delivery_method: String!, $shared_secret: String!) {
sendSampleWebhook(input: {topic: $topic, apiVersion: $api_version, address: $address, deliveryMethod: $delivery_method, sharedSecret: $shared_secret}) {
samplePayload
success
headers
userErrors {
message
}
}
}
With variables:
{
"topic": "app/uninstalled",
"api_version": "2023-01",
"address": "http://localhost:62020/api/webhooks",
"delivery_method": "localhost",
"shared_secret": "[REDACTED]"
}
With request headers:
- User-Agent: Shopify CLI; v=3.44.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-03-15T04:12:43.033Z: Request to https://partners.shopify.com/api/cli/graphql completed in 312 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"a2c7df0dfb2b10e7eedb332a19657bee"
- x-request-id: 8de92aed-dffe-4a2a-a08a-c7f7e28346c1
2023-03-15 04:12:43 | webhooks | Sending APP_UNINSTALLED webhook to app server
2023-03-15 04:12:43 | webhooks | App isn't responding yet, retrying in 5 seconds
2023-03-15 04:12:48 | webhooks | App isn't responding yet, retrying in 5 seconds
2023-03-15 04:12:53 | webhooks | App isn't responding yet, retrying in 5 seconds
2023-03-15 04:12:58 | webhooks | App hasn't started in time, giving up
2023-03-15 04:12:58 | webhooks | APP_UNINSTALLED webhook delivery failed
2023-03-15T04:12:58.095Z: Obtaining the dependency manager in directory [REDACTED]...
2023-03-15T04:12:58.128Z:
Running system process:
· Command: ruby -v
· Working directory: [REDACTED]
2023-03-15T04:12:58.246Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 97 ms
With response headers:
- x-request-id: 51b50fc6-bf6b-4783-a445-7cbd06b949d5
2023-03-15T04:12:58.247Z: Analytics event sent: {
"command": "app dev",
"time_start": 1678853544856,
"time_end": 1678853578088,
"total_time": 33232,
"success": true,
"cli_version": "3.44.1",
"ruby_version": "3.0.4",
"node_version": "18.0.0",
"is_employee": false,
"uname": "windows amd64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-did-you-mean\",\"@shopify/plugin-ngrok\"]",
"env_shell": "cmd.exe",
"env_device_id": "f2c296cbbbd4fb84dfe47c4f81026c3ccaf614ea",
"env_cloud": "localhost",
"env_package_manager": "npm",
"partner_id": 344828,
"api_key": "[REDACTED]",
"app_extensions_any": false,
"app_extensions_breakdown": "{}",
"app_extensions_count": 0,
"app_extensions_custom_layout": false,
"app_extensions_function_any": false,
"app_extensions_function_count": 0,
"app_extensions_function_custom_layout": false,
"app_extensions_theme_any": false,
"app_extensions_theme_count": 0,
"app_extensions_theme_custom_layout": false,
"app_extensions_ui_any": false,
"app_extensions_ui_count": 0,
"app_extensions_ui_custom_layout": false,
"app_name_hash": "54822ed6aebbe3bc4a7495ca374f0780a545290b",
"app_path_hash": "eae6ba810774719380ee5b52c719577308d88c28",
"app_scopes": "[\"write_products\"]",
"app_web_backend_any": false,
"app_web_backend_count": 0,
"app_web_custom_layout": false,
"app_web_frontend_any": false,
"app_web_frontend_count": 0,
"env_package_manager_workspaces": false,
"cmd_dev_tunnel_type": "ngrok",
"cmd_dev_urls_updated": false,
"store_fqdn_hash": "beb4defb3ecbaa3df21743b00d8d12eb618cb145",
"cmd_app_dependency_installation_skipped": false,
"cmd_app_reset_used": true,
"cmd_all_launcher": "npm",
"cmd_all_topic": "app",
"cmd_all_plugin": "@shopify/app",
"cmd_all_verbose": true,
"cmd_all_path_override": false,
"args": "--reset --verbose",
"app_name": "inventory-sync",
"store_fqdn": "[REDACTED]",
"env_plugin_installed_all": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-did-you-mean\",\"@shopify/plugin-ngrok\"]",
"metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2023-03-15T04:12:58.252Z: Completed command app dev
Reproduction steps
- Create a new node app using
npm init @shopify/app@latest - cd to new app’s dir, ex. my-new-app
- Run
npm run dev
Operating System
Windows 10
Shopify CLI version (check your project’s package.json if you’re not sure)
3.44.1
Shell
windows CMD
Node version (run node -v if you’re not sure)
v18.0.0
What language and version are you using in your application?
Node, whatever version is used by Shopify CLI new default app
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 15 (8 by maintainers)
Thank you is there any work around I can do for now? I need to get this project started and this is preventing it
On Wed, Mar 15, 2023, 9:09 AM Matteo Depalo @.***> wrote:
Hey, seeing the exact same issue. I was trying to update my app from an older version, but this one is impossible to work with. I’ve tried different terminals, changing Shopify partners account for another app, but I can’t even seem to get past the npm run dev command. I assume the fact that I’ve worked on the app is saved locally?