[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.
App Id
d1n935d7e6mk91
AWS Region
ap-southeast-1
Amplify Hosting feature
Monorepo
Frontend framework
Next.js
Next.js version
13.5.6
Next.js router
Pages Router
Describe the bug
I am trying to host a monorepo using npm workspace.
When deploying a repository where the repository root and monorepo root are different, the deployment succeeds, but the application returns a 500 error.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Before opening, please confirm:
App Id
d1n935d7e6mk91
AWS Region
ap-southeast-1
Amplify Hosting feature
Monorepo
Frontend framework
Next.js
Next.js version
13.5.6
Next.js router
Pages Router
Describe the bug
Expected behavior
Website is accessible after build.
Reproduction steps
I have prepared a repository here to reproduce the issue: https://github.com/MasatoraAtarashi/amplify-monorepo-experiment2
Build Settings
Log output
Additional information
No response