i want someone to deploy nextjs app on aws amplify.
Budget: ₹600 – ₹1,500 INR
I am looking for someone who can help me solve this error while deploy my pre-existing NextJS application on AWS Amplify.
- Strong knowledge of NextJS and AWS Amplify
# Starting phase: preBuild
# Executing command: npm ci
2023-12-01T22:53:55.455Z [WARNING]: npm
2023-12-01T22:53:55.456Z [WARNING]: WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'next@14.0.3',
npm WARN EBADENGINE required: { node: '>=18.17.0' },
npm WARN
2023-12-01T22:53:55.457Z [WARNING]: EBADENGINE current: { node: 'v16.19.0', npm: '8.19.3' }
npm WARN EBADENGINE }
2023-12-01T22:54:10.862Z [INFO]: added 559 packages, and audited 560 packages in 18s
2023-12-01T22:54:10.863Z [INFO]: 124 packages are looking for funding
run `npm fund` for details
2023-12-01T22:54:10.866Z [INFO]: 3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
2023-12-01T22:54:10.880Z [INFO]: # Completed phase: preBuild
2023-12-01T22:54:10.881Z [INFO]: # Starting phase: build
# Executing command: npm run build
2023-12-01T22:54:11.189Z [INFO]: > bajilive@0.1.0 build
> next build
2023-12-01T22:54:11.456Z [WARNING]: unhandledRejection ReferenceError: Headers is not defined
at Object.<anonymous> (/codebuild/output/src2445085648/src/bajivai_frontend/node_modules/next/dist/server/web/spec-extension/adapters/headers.js:32:30)
at Module._compile (node:internal/modules/cjs/loader:1165:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
at Module.load (node:internal/modules/cjs/loader:1043:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1067:19)
at Module.mod.require (/codebuild/output/src2445085648/src/bajivai_frontend/node_modules/next/dist/server/require-hook.js:64:28)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/codebuild/output/src2445085648/src/bajivai_frontend/node_modules/next/dist/server/api-utils/index.js:63:18)
at Module._compile (node:internal/modules/cjs/loader:1165:14)
2023-12-01T22:54:11.464Z [ERROR]: !!! Build failed
2023-12-01T22:54:11.464Z [INFO]: Please read more about Amplify Hosting's support for SSR frameworks to find if your build failure is related to an unsupported feature: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-ssr-framework-support.html. You may also find this troubleshooting guide useful: https://docs.aws.amazon.com/amplify/latest/userguide/troubleshooting-ssr-deployment.html
2023-12-01T22:54:11.464Z [ERROR]: !!! Non-Zero Exit Code detected
2023-12-01T22:54:11.465Z [INFO]: # Starting environment caching...
2023-12-01T22:54:11.465Z [INFO]: # Environment caching completed
Terminating logging...
- Strong knowledge of NextJS and AWS Amplify
# Starting phase: preBuild
# Executing command: npm ci
2023-12-01T22:53:55.455Z [WARNING]: npm
2023-12-01T22:53:55.456Z [WARNING]: WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'next@14.0.3',
npm WARN EBADENGINE required: { node: '>=18.17.0' },
npm WARN
2023-12-01T22:53:55.457Z [WARNING]: EBADENGINE current: { node: 'v16.19.0', npm: '8.19.3' }
npm WARN EBADENGINE }
2023-12-01T22:54:10.862Z [INFO]: added 559 packages, and audited 560 packages in 18s
2023-12-01T22:54:10.863Z [INFO]: 124 packages are looking for funding
run `npm fund` for details
2023-12-01T22:54:10.866Z [INFO]: 3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
2023-12-01T22:54:10.880Z [INFO]: # Completed phase: preBuild
2023-12-01T22:54:10.881Z [INFO]: # Starting phase: build
# Executing command: npm run build
2023-12-01T22:54:11.189Z [INFO]: > bajilive@0.1.0 build
> next build
2023-12-01T22:54:11.456Z [WARNING]: unhandledRejection ReferenceError: Headers is not defined
at Object.<anonymous> (/codebuild/output/src2445085648/src/bajivai_frontend/node_modules/next/dist/server/web/spec-extension/adapters/headers.js:32:30)
at Module._compile (node:internal/modules/cjs/loader:1165:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
at Module.load (node:internal/modules/cjs/loader:1043:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1067:19)
at Module.mod.require (/codebuild/output/src2445085648/src/bajivai_frontend/node_modules/next/dist/server/require-hook.js:64:28)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/codebuild/output/src2445085648/src/bajivai_frontend/node_modules/next/dist/server/api-utils/index.js:63:18)
at Module._compile (node:internal/modules/cjs/loader:1165:14)
2023-12-01T22:54:11.464Z [ERROR]: !!! Build failed
2023-12-01T22:54:11.464Z [INFO]: Please read more about Amplify Hosting's support for SSR frameworks to find if your build failure is related to an unsupported feature: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-ssr-framework-support.html. You may also find this troubleshooting guide useful: https://docs.aws.amazon.com/amplify/latest/userguide/troubleshooting-ssr-deployment.html
2023-12-01T22:54:11.464Z [ERROR]: !!! Non-Zero Exit Code detected
2023-12-01T22:54:11.465Z [INFO]: # Starting environment caching...
2023-12-01T22:54:11.465Z [INFO]: # Environment caching completed
Terminating logging...