skip to Main Content

When ‘npm run dev’ I get this.

?  Command `hydrogen dev` not found. Did you mean `kitchen-sink prompts`?

>  (y) Yes, confirm
   (n) No, cancel

   Press ↑↓ arrows to select, enter or a shortcut to confirm.

enter image description here

Node and npm are up-to-date. I also tried opening a new terminal. I also tried deleting and rebuiding the storefront.

2

Answers


  1. I had the same problem, I just had to run npm install in the package directory to install dependencies, then it worked.

    Login or Signup to reply.
  2. I updated shopify CLI version, and it worked

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search