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

A weird error on start up. #2

Open
SuperGamer001 opened this issue Dec 3, 2024 · 6 comments
Open

A weird error on start up. #2

SuperGamer001 opened this issue Dec 3, 2024 · 6 comments

Comments

@SuperGamer001
Copy link

image

I did everything you said in the READ ME file. What could be the cause of this?

@SuperGamer001
Copy link
Author

I did update Next.js to this, but I'm still getting an error with more information added to it:
image

@btahir
Copy link
Owner

btahir commented Dec 3, 2024

I suggest logging out the redis result to see what's going on. You can also set it to 0 to see if that fixes it or its related to somewhere else in the code.
Also likely that you have not set redis environment variables.
UPSTASH_REDIS_REST_URL
UPSTASH_REDIS_REST_TOKEN

@SuperGamer001
Copy link
Author

I did set the variables to 0, but the issue still occurs. I have the .env.local file set up like I needed to according to the instructions on the READ ME file, so I know I got that part right.

Error: Failed to parse URL from 0. Is there something else I need to give those variables?

@btahir
Copy link
Owner

btahir commented Dec 5, 2024

Try to log out those variables - it very likely is they are not set correctly.

@SuperGamer001
Copy link
Author

Ok. How do I log them? Through the web console, or through my code Terminal?

@btahir
Copy link
Owner

btahir commented Dec 5, 2024

Google this and other basic debugging stuff. I'm not your personal assistant.

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