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

Am getting this error when i try to login #15

Open
memagwan opened this issue Dec 21, 2024 · 3 comments
Open

Am getting this error when i try to login #15

memagwan opened this issue Dec 21, 2024 · 3 comments

Comments

@memagwan
Copy link

IMG-20241220-WA0017

@Kuzma02
Copy link
Owner

Kuzma02 commented Dec 22, 2024

Hi! I can give you some solutions so you can try to solve the error. Here they are:

  1. Solution: Follow the YouTube tutorial and repeat the steps. Please do every step in the exact order; otherwise, there will be errors.
  2. Solution: Try to run "npx prisma generate" in a terminal and try to import it again
  3. Solution: In the package.json, under scripts, add"postinstall": "prisma generate --schema="

I hope it will help you to solve the error.

@memagwan
Copy link
Author

memagwan commented Dec 23, 2024

thank you for you responed i've added your sulotion 2 and 3 am still having the error, when i try to login its showing me api/auth/error. please i want to know before trying your solution 1 is it possible to add a new user directly using HeidiSQL from the use data table in the MYSQL database?

@Kuzma02
Copy link
Owner

Kuzma02 commented Dec 26, 2024

Hi! I'm sorry for not getting back to you sooner. Yes, it's possible to add a new user from HeidiSQL. Open the database table in HeidiSQL and add a row with the desired fields. If you solve the error please post your solution here.

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