Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel can't find the module "@vercel/postgres" #760

Open
Jforjo opened this issue Sep 27, 2024 · 2 comments
Open

Vercel can't find the module "@vercel/postgres" #760

Jforjo opened this issue Sep 27, 2024 · 2 comments

Comments

@Jforjo
Copy link

Jforjo commented Sep 27, 2024

Here's the log saying that Vercel can't import Postgres:

Image of error log in Vercel console

Here are my dependencies in my package.json file:

Dependencies listed in the package.json file

Here's the command that I'm using to import it:

Import SQL from postgres command

@geraldrush
Copy link

Did you get any help on this? I am going through the same problem.

@Jforjo
Copy link
Author

Jforjo commented Dec 28, 2024

Sadly Vercel deleted the deployment that had the error, so I'm not entirely sure what the problem was in the first place. But I do remember that I got it working.
image
It might have had something to do with making sure this is set to "Other." I changed it to Next as I switched over since I'd like a website here, too. However, I did get it working with Node, I just can't remember how... sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants