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

Highlighted
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
Highlighted
Shopify Partner
562 67 91

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

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

Skype : lokendra.panwar1
0 Likes
Highlighted
New Member
3 0 0

Thanks for replying.

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

 

0 Likes