admin管理员组文章数量:1318318
I’m currently working on deploying a Turborepo-based monorepo to AWS Amplify, and I’m running into some issues. My setup includes Next.js 15 in the monorepo structure, and the Amplify build successful generated but when i click on link fails with 500 error Here are the key issues I’m facing: logs list in cloud watch node:internal/modules/cjs/loader:1228 2025-01-20T10:10:05.164Z Error: Cannot find module ‘next/dist/server/lib/start-server.js’ here is build settings file node version 22 version: 1 applications:
frontend: phases: preBuild: commands: version: 1 applications:
- frontend: phases: preBuild: commands: - nvm use 22 - yarn install build: commands: - yarn run build --filter=appname artifacts: baseDirectory: apps/appname/.next files: - '/*' cache: paths: - node_modules//* - .next/cache//* - apps/appname/node_modules//* - apps/appname/.next/cache/**/* buildPath: / appRoot: apps/appname
本文标签: vercelIssue Deploying Turborepo Monorepo with Nextjs 15 to AWS AmplifyStack Overflow
版权声明:本文标题:vercel - Issue: Deploying Turborepo Monorepo with Next.js 15 to AWS Amplify - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742046152a2417795.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论