Trying to deploy Shopify app with the latest technology like next js, koa failing

ashok_tatikonda
Tourist
6 0 1

Hi All,

I am trying to deploy the Shopify app developed by following latest tutorial with using next js, koa, Polaris and node, react is not working in AWS lambda and throwing internal server error saying, error : modifying read only folder. When I did little research on it, I see that, the next js trying to generate _static, etc folders in that read only folder, so it's failing.

Any help in resolving the issue is much appreciated.

If there is a good example where a sample Shopify app deployed to lamda or any AWS stack will be helpful.

Thanks in advance

 

Replies 6 (6)
JHLEE
Tourist
6 0 1

Hi,

I am also trying to deploy Shopify app written with Node.js and React into AWS Lambda.  I am wondering whether this problem has been resolved.

Thank you,

joshbedo
Tourist
10 0 1

Did you guys ever figure this out?

yoshixj
Tourist
7 2 0

I am also trying to deploy Shopify app written with Next.js into Vercel with using vercel function.

Thank you.

Robert253
New Member
1 0 2

When I did little research on it, I see that, the next js trying to generate static, etc folders in that read only folder, so it's failing.

sagar_ranglani
Tourist
6 0 1

Could u do it successfully? If yes, could you please share some details about the procedure? If not, what did you finally choose for deployment?

joshbedo
Tourist
10 0 1

yeah its extremely painful and more expensive to set up on AWS. You basically want to setup ECS fargate with ECR using a Docker image of the app. I ended up just pushing it to heroku since its much more simple and most likely cheaper.