Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Next.js app from AWS Amplify doesn't detect the framework #2415

Open
cloudhx opened this issue Jan 8, 2025 · 0 comments
Open

Creating Next.js app from AWS Amplify doesn't detect the framework #2415

cloudhx opened this issue Jan 8, 2025 · 0 comments
Labels
hosting Issue related to Amplify Hosting pending-triage Incoming issues that need categorization

Comments

@cloudhx
Copy link

cloudhx commented Jan 8, 2025

Environment information

n/a

Describe the bug

We have a Next.js v15 app deployed to vercel and it works well. Now we want to deploy the exactly same code to AWS Amplify instead. But when we tried to create new app, Amplify cannot detect the correct framework.

Below are screenshots taken while creating the app.
Screenshot 2025-01-08 at 15 13 38
Screenshot 2025-01-08 at 15 15 54
Screenshot 2025-01-08 at 15 16 08

And package.json under packages/ops2-web-app is as below

{
  "private": true,
  "scripts": {
    "build": "next build",
    "dev": "next dev --turbo",
    "start": "next start"
  },
  "dependencies": {
    "@heroicons/react": "^2.1.4",
    "@radix-ui/react-dropdown-menu": "^2.1.2",
    "@radix-ui/react-label": "^2.1.0",
    "@radix-ui/react-popover": "^1.1.2",
    "@radix-ui/react-select": "^2.1.2",
    "@radix-ui/react-slot": "^1.1.0",
    "@radix-ui/react-tooltip": "^1.1.6",
    "@tailwindcss/forms": "^0.5.7",
    "@vercel/postgres": "^0.8.0",
    "apexcharts": "^4.1.0",
    "autoprefixer": "10.4.19",
    "bcrypt": "^5.1.1",
    "class-variance-authority": "^0.7.0",
    "clsx": "^2.1.1",
    "date-fns": "^3.6.0",
    "lucide-react": "^0.460.0",
    "next": "^15.0.0",
    "next-auth": "5.0.0-beta.19",
    "pg": "^8.13.1",
    "postcss": "8.4.38",
    "react": "^18.3.1",
    "react-apexcharts": "^1.6.0",
    "react-day-picker": "^8.10.1",
    "react-dom": "^18.3.1",
    "tailwind-merge": "^2.5.5",
    "tailwindcss": "3.4.4",
    "typescript": "5.5.2",
    "use-debounce": "^10.0.4",
    "zod": "^3.23.8"
  },
  "devDependencies": {
    "@types/bcrypt": "^5.0.2",
    "@types/node": "20.14.8",
    "@types/pg": "^8.6.6",
    "tailwindcss-animate": "^1.0.7"
  }
}

Can anyone shred some light on what could be wrong here?

Thanks!

Reproduction steps

n/a

@cloudhx cloudhx added the pending-triage Incoming issues that need categorization label Jan 8, 2025
@ykethan ykethan added the hosting Issue related to Amplify Hosting label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hosting Issue related to Amplify Hosting pending-triage Incoming issues that need categorization
Projects
None yet
Development

No branches or pull requests

2 participants