I'm trying to deploy a Next.js 15 project on AaPanel, but I'm facing an issue with the production build. Here’s what I did:
Installed all dependencies from package.json using the One Key Install from aaPanel.
Ran next dev --turbopack
, which works fine.
Tried to run next build, but it gets stuck at this point:
▲ Next.js 15.1.6
- Environments: .env.local
Creating an optimized production build ...