# Shopify CLI command hanging

**URL:** <https://community.shopify.dev/t/shopify-cli-command-hanging/11952>\
**Category:** Shopify CLI and Libraries\
**Tags:** app-commands\
**Created:** [March 25, 2025, 1:42am UTC](https://community.shopify.dev/t/shopify-cli-command-hanging/11952 "2025-03-25T01:42:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrownTheFlower](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/browntheflower/32/4300_2.png) [@BrownTheFlower](https://community.shopify.dev/u/BrownTheFlower)\
**Post date:** [March 25, 2025, 1:42am UTC](https://community.shopify.dev/t/shopify-cli-command-hanging/11952/1 "2025-03-25T01:42:13Z")

</div>

Hello, i’m just working on a app extension project. After few days, i back to this project, but i cant run shopify app dev but others works.

 ![image](https://global.discourse-cdn.com/shopifycommunity/original/2X/4/4176a071487341b8994253bed150198833a8c488.png)

I ve been stuck here for a long times. I tried to reinstall CLI but its not working.

---

<div class="post-metadata">

**Author:** ![remy727](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/remy727/32/22340_2.png) [@remy727](https://community.shopify.dev/u/remy727)\
**Post date:** [March 25, 2025, 6:03am UTC](https://community.shopify.dev/t/shopify-cli-command-hanging/11952/2 "2025-03-25T06:03:16Z")

</div>

Does `shopify cache clear` help?

---

<div class="post-metadata">

**Author:** ![BrownTheFlower](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/browntheflower/32/4300_2.png) [@BrownTheFlower](https://community.shopify.dev/u/BrownTheFlower)\
**Post date:** [March 25, 2025, 7:04am UTC](https://community.shopify.dev/t/shopify-cli-command-hanging/11952/3 "2025-03-25T07:04:43Z")

</div>

> [@remy727](#):
>
> shopify cache clear

I got `Warning: Invalid hook call.` when doing this

---

<div class="post-metadata">

**Author:** ![remy727](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/remy727/32/22340_2.png) [@remy727](https://community.shopify.dev/u/remy727)\
**Post date:** [March 25, 2025, 7:17am UTC](https://community.shopify.dev/t/shopify-cli-command-hanging/11952/4 "2025-03-25T07:17:44Z")

</div>

Can you please provide the versions of these?

- Shopify CLI
- Node.js
- React

---

<div class="post-metadata">

**Author:** ![BrownTheFlower](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/browntheflower/32/4300_2.png) [@BrownTheFlower](https://community.shopify.dev/u/BrownTheFlower)\
**Post date:** [March 25, 2025, 7:28am UTC](https://community.shopify.dev/t/shopify-cli-command-hanging/11952/5 "2025-03-25T07:28:25Z")

</div>

im using the latest version of Shopify CLI (i already tried lower versions like 3.50 or 3.42) and  
Node: v20.11.1  
React: v18

---

<div class="post-metadata">

**Author:** ![Ariel\_Caplan](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/ariel_caplan/32/3663_2.png) [@Ariel\_Caplan](https://community.shopify.dev/u/Ariel_Caplan)\
**Post date:** [March 25, 2025, 8:45am UTC](https://community.shopify.dev/t/shopify-cli-command-hanging/11952/6 "2025-03-25T08:45:59Z")

</div>

Hi @BrownTheFlower, I see it gets stuck on dependency installation. When that displays, it means the CLI is waiting for dependency installation to finish, so the CLI isn’t really in control.

Have you tried installing dependencies without the CLI? It’s possible that `npm install` (or the command for your package manager) is simply hanging for whatever reason, and you’ll have to figure out why.

You can also try running the CLI with the `--verbose` flag to see if any additional details emerge about where it’s getting stuck.

---

<div class="post-metadata">

**Author:** ![BrownTheFlower](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/browntheflower/32/4300_2.png) [@BrownTheFlower](https://community.shopify.dev/u/BrownTheFlower)\
**Post date:** [March 25, 2025, 8:51am UTC](https://community.shopify.dev/t/shopify-cli-command-hanging/11952/7 "2025-03-25T08:51:00Z")

</div>

omg, im stupid. i’m reinstall package json and it works.  
thank you!!
