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
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.
I am also trying to deploy Shopify app written with Next.js into Vercel with using vercel function.
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.
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?
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.