Syntax Error with @vercel/postgres Template Literal When Interpolating Values
I’m trying to use the @vercel/postgres library in my Next.js API route to execute a SQL query with interpolated values, but I’m encountering a “syntax error at or near $1” error. Here’s my code:
Deployed Site doesnt function like locally hosted site and it looks a bit different as well (Used vercel)
I created a web application using Nextjs and deployed it using vercel. In my local host, I am able to interact with it like normal (buttons function) and the contents adjust according to the screen size but the deployed site does not look or function that way. It has the following errors: