I’m encountering an issue while trying to host my Next.js app on the pipeops platform. Interestingly, I’ve successfully hosted the same app on Vercel without any problems, but I’m running into difficulties with pipeops.
When attempting to set up Firebase, I’m receiving the following error:
“FirebaseAppError: Failed to parse private key: Error: Invalid PEM formatted message.”
I’ve already tried the following:
- Wrapping the private key in the env file with double quotes
- Wrapping the private key in the env file with single quotes
Neither of these attempts resolved the issue. Given that the app works fine on Vercel, I suspect this might be related to how pipeops handles environment variables or Firebase configuration.
Has anyone else faced this problem or have any suggestions on how to properly format the Firebase private key for use with pipeops? Any insights on potential differences between Vercel and pipeops in handling Firebase setup would also be helpful.
Thanks in advance for any assistance!