npm run dev not working. Command `hydrogen dev` not found

249 Views Asked by At

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.

1

There are 1 best solutions below

0
On

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