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

user072319
Excursionist
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.

 

 

 

 

0 Likes
Vellir
Shopify Partner
132 29 33

Hey there,

 

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

https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.ht...

 

Let me know how that goes.

- Yes, we build Shopify Apps. Hit me with your idea: https://vellir.tech
- 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
0 Likes