Build container ran out of memory For Next js 14 app #1919
Labels
console-builds
Issues related to Amplify console builds
pending-triage
Incoming issues that need categorization
Environment information
Description
This is my amplify.yml
version: 1 backend: phases: build: commands: - corepack enable - pnpm install --frozen-lockfile - pnpm exec ampx pipeline-deploy --branch $AWS_BRANCH --app-id $AWS_APP_ID frontend: phases: build: commands: - npx ampx info - pnpm run build artifacts: baseDirectory: .next files: - '**/*' cache: paths: - $(pnpm store path) - .next/cache/**/* - node_modules/**/*
I have tried building with npm too it does not work... It runs locally fine.. and in vercel too it is getting no error. But why am I having problem with amplify
The text was updated successfully, but these errors were encountered: