aws-amplify / amplify-flutter

A declarative library with an easy-to-use interface for building Flutter applications on AWS.
https://docs.amplify.aws
Apache License 2.0
1.33k stars 247 forks source link

Deployment issue in monorepo with amplify gen 2 & Next js #5287

Closed spring-bconnect closed 3 months ago

spring-bconnect commented 3 months ago

Monorepo app deployment failure issue

PFA screenshots

Screenshot 2024-08-13 at 6 07 47 PM Screenshot 2024-08-13 at 6 08 01 PM

yarn workspaces> pacakge.json { "name": "----", "version": "1.0.0", "description": "-------", "main": "index.js", "author": "-------", "license": "MIT", "private": true }

Monorepo Folder structure

Screenshot 2024-08-13 at 6 12 31 PM

Complete folder structure

Screenshot 2024-08-13 at 6 35 22 PM

Forntend app > Nextjs > Package.json

Screenshot 2024-08-13 at 6 15 54 PM

Nextjs> tsconfig.json

Screenshot 2024-08-13 at 6 18 55 PM

Amplify> ts.config.json

Screenshot 2024-08-13 at 6 20 01 PM
khatruong2009 commented 3 months ago

Hi @spring-bconnect, I believe this is a continuation of the current conversation on this issue can we continue on that issue instead?

khatruong2009 commented 3 months ago

I'm going to close this issue now as we're continuing the conversation in the this thread. If you have any other issues, please feel free to open a new issue, thanks.