DeFacedFaceOriginal post
Rank 2: Process
I just deployed my first project to Vercel but im having some issues. The homepage loads up fine but going to login im hit with the title error...
I initialize the appwrite client with env variables from the client component.
const client = new Client()
.setProject(process.env.APPWRITE_PROJECT)
.setEndpoint(process.env.APPWRITE_ENDPOINT);
I have imported all of my env variables to Vercel already. Not sure what could be causing this.. any help would be appreciated.
Summary
Issue: Application error occurs on login page after deploying project to Vercel.
Solution: Ensure that environment variables from the client component are initialized correctly. Double-check that all environment variables are correctly imported into Vercel to avoid client-side exceptions.