Failed in "Build a Shopify App with Node and React "

lukeluo
New Member
3 0 0

Hi buddies:

I am new to Shopify. 

I followed the tutorial of "Build a Shopify App with Node and React ". It seems all right https://shopify.dev/tutorials/build-a-shopify-app-with-node-and-react/set-up-your-app#run-your-proje...

"npm run dev" is successful and shows "event - compiled successfully" but when I tried http://localhost:3000. It showed 404.

Hope somebody can help me. Thanks~

 

0 Likes
Propero
Shopify Partner
735 83 122

@lukeluo Do you have index.html or index.js generated?

- Was my reply helpful? Click Like or Click Accept as Solution
To hire: email us at shopify@propero.in
checkout our app https://apps.shopify.com/picamaze
0 Likes
lukeluo
New Member
3 0 0

Thanks for replying.

I know why now, I need to add "sudo" before "npm" in my case.

 

0 Likes