a year ago
I am encountering a failure during the image build process while deploying my application on Railway. The issue occurs when building the Docker image, and I have already checked the following points:
The Dockerfile is present and correctly configured.
The Node.js versions in both the package.json and Dockerfile are compatible.
Dependencies are installed correctly and running without issues locally.
All necessary environment variables are configured in the Railway dashboard.
Despite these checks, the error persists and prevents the build from completing. Could you help me identify the cause of the problem? I can provide detailed logs if needed.
Thank you for your support.
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year ago
> The Dockerfile is present and correctly configured.
> The Node.js versions in both the package.json and Dockerfile are compatible.
You aren't using a Dockerfile.
> Dependencies are installed correctly and running without issues locally.
Unfortunately, that doesn't mean all that much.
> All necessary environment variables are configured in the Railway dashboard.
You have a single environment variable set - PORT
> Despite these checks, the error persists and prevents the build from completing. Could you help me identify the cause of the problem? I can provide detailed logs if needed.
Have you checked your build logs? Directly from your builds logs -
Error occurred prerendering page "/login". Read more: https://nextjs.org/docs/messages/prerender-error
FirebaseError: Firebase: Error (auth/invalid-api-key).Additionally, please do not use AI to write your help posts, further posts / comments of that nature will not be eligible for support.