Skip to content

Deployment on Vercel using Node 24.x results in a 500 error when trying to login the application. #401

@PascalHuijsmans

Description

@PascalHuijsmans

🐞 Describe the bug

Deployment on Vercel using Node 24.x results in a 500 error (due to deprecated url.parse() method usage) when trying to login the application.

📚 To Reproduce

  1. Click the Vercel deployment button from docs
  2. Create repository with the environments
    ACKEE_USERNAME, ACKEE_PASSWORD, ACKEE_MONGODB, ACKEE_ALLOW_ORIGIN
  3. Configure build settings: Build command: npm run build + Output directory: dist
  4. Deploy
  5. Go to the page created by vercel https://some-ackee-app.vercel.app
  6. Login in with <ACKEE_USERNAME> and <ACKEE_PASSWORD>
  7. The login page a "Response not successful: Received status code 500" error.

💡 Expected behavior

Successful deployment without errors: When I am on the login page, I expect to login.

🖼️ Screenshots
Image
Image

⚙️ Environment

  • Installation: Vercel
  • Ackee version: 3.5.1

📋 Additional context

  • I've tested the build locally with the docker compose variant: this seems to work perfectly using the same values for: ACKEE_USERNAME, ACKEE_PASSWORD, ACKEE_MONGODB, ACKEE_ALLOW_ORIGIN variales.
  • The application in the container is able to make a connection to the MongoDB Atlas cluster: mongodb+srv://...:...@....mongodb.net/
  • Update: I noticed the same error on the netlify build

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions