Setting up app failing to install React, ReactDOM, and Next.js

63 0 4

We are referring this tutorial to create a shopify app. We followed the same steps which are mentioned in the tutorial. But on this line:


npm install --save react react-dom next

we are getting sh: node: command not found error.

Node is already installed in our server.

node -v //v12.4.0 

We need to setup the app in amazon ec2 linux instance. 


Can anyone help us to fix this or provide some other documentation available.

Any help would be appreciated.





Shopify Partner
132 29 33

Hey there,


Try following this tutorial on how to setup nodejs on a aws ec2 instance:


Let me know how that goes.

- Yes, we build Shopify Apps. Hit me with your idea:
- Let customers preview your products and easily add them to cart with Peek Mode
- Add free, good looking social share icons with built-in analytics to your store with Share Lab
- Manage your new arrivals with Newr