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