Next.js Discord

Discord Forum

AWS Amplify Error while Deploying

Unanswered
Satin Angora posted this in #help-forum
Open in Discord
Satin AngoraOP
getting this error while deploying in AWS
{
"name": "next-js-starter-template",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@studio-freight/lenis": "^1.0.34",
"@gsap/react": "^2.1.0",
"gsap": "^3.12.5",
"gsap-trial": "^3.12.5",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-fast-marquee": "^1.6.3",
"react-icons": "^4.12.0",
"tailwind-merge": "^2.2.1"
},
"devDependencies": {
"@types/webgi": "https://dist.pixotronics.com/webgi/runtime/bundle-types-0.9.1.tgz",
"autoprefixer": "^10.4.17",
"eslint": "^8.56.0",
"eslint-config-next": "^14.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-tailwindcss": "^3.14.0",
"postcss": "^8.4.33",
"prettier": "^3.2.4",
"tailwindcss": "^3.4.1",
"webgi": "https://dist.pixotronics.com/webgi/runtime/bundle-0.9.1.tgz"
}
}

4 Replies

The error clearly says the issue
The version of node amplify uses is out of date
You need to either use nvm as part of your amplify script to update to 18 or better yet use a custom build image