npm run dev failing when extensions are installed - Shopify app development

NativeHealth_R
Excursionist
18 1 2

I am creating a custom app for my shopify store

Had generated an extension to display a custom login input block, made and tested one (everything was working fine)

Out of nowhere when i ran npm run dev, the following text ran (it never did before), and the command would fail after displaying the following

Currently unable to access the app, work has halted because of this

 

When i created a new app to check, it ran fine, until i installed extensions, after which the same error occured

 

Please lmk what needs to be done if you know what the error means

 

 

 

 

2023-07-06 04:58:02 │ extensions │
2023-07-06 04:58:02 │ extensions │ --------- Pushing theme files to App Ext. Host (852fe8-Peters-MacBook-Pro) (#153458376982) on staging-shop-savage.myshopify.com
2023-07-06 04:58:02 │ extensions │ Pushing theme... 0%
2023-07-06 04:58:11 │ extensions │ Pushing theme... 23%
2023-07-06 04:58:13 │ extensions │ Pushing theme... 33%
2023-07-06 04:58:13 │ extensions │ Pushing theme... 46%
2023-07-06 04:58:13 │ extensions │ Pushing theme... 50%
2023-07-06 04:58:13 │ extensions │ Pushing theme... 60%
2023-07-06 04:58:13 │ extensions │ Pushing theme... 70%
2023-07-06 04:58:15 │ extensions │ Pushing theme... 80%
2023-07-06 04:58:15 │ extensions │ Pushing theme... 90%
2023-07-06 04:58:15 │ extensions │ Pushing theme... 100%
2023-07-06 04:58:16 │ extensions │ ------------------
2023-07-06 04:58:17 │ extensions │
2023-07-06 04:58:17 │ extensions │ --------- Viewing extension…
2023-07-06 04:58:17 │ extensions │ Enable your theme app extension:
2023-07-06 04:58:17 │ extensions │ https://partners.shopify.com/3021886/apps/49161371649/extensions/theme_app_extension/26612989953
2023-07-06 04:58:17 │ extensions │
2023-07-06 04:58:17 │ extensions │ Setup your theme app extension in the host theme:
2023-07-06 04:58:17 │ extensions │ https://staging-shop-savage.myshopify.com/admin/themes/153458376982/editor
2023-07-06 04:58:17 │ extensions │
2023-07-06 04:58:17 │ extensions │ Preview your theme app extension:
2023-07-06 04:58:17 │ extensions │ http://127.0.0.1:9292
2023-07-06 04:58:17 │ extensions │ ------------------
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┏
04:58:17 ━━ Error
2023-07-06 04:58:17 │ extensions │ ┃ The address "http://127.0.0.1:9292" is already in use.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┗━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┏━
04:58:17 ━ Try this
2023-07-06 04:58:17 │ extensions │ ┃ Use the --port=PORT option to serve the theme in a different port.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┗━━

Preview URL: https://staging-shop-savage.myshopify.com/admin/oauth/redirect_from_cli?client_id=fbd44329f2722ab19e...

Reply 1 (1)

appaza
Shopify Partner
12 1 2

 

run this command
lsof -i :9293

 

Collaboration creates new things