The error after typing the command
I've checked my MongoDB url, it's correct.The env files id properly linked.How to resolve this?
This is my schema.prisma:
This is how my .env looks like:
I've replaced the original values with dummy variables:
I tried checking the .env variables names, the username ,password, everything is correct.
I also tried npx prisma generate, but it brought new error:
When i directly tried to replace the DATABASE_URL in schema with the actual url, this error turned up:
error after replacing Database_url
Edit : Creating a new user resolved it.