Hi folks! Whenever I'm running `yarn dev` while se...
# developers
c
Hi folks! Whenever I'm running
yarn dev
while setting up the project in my local machine for contribution I'm getting this error
h
Have you set NEXTAUTH_SECRET?
c
No
h
This should help
c
Done that and installed docker as well and now I'm getting this
h
You need to have docker installed on your System(that's a separate requirement), it's complaining about that
c
ya I've installed it
By the way thank you very much for help Hariom
Docker is installed and daemon is also running still this error
h
Is this a Unix based system or windows ? cc @Ali It's the similar error.
a
@Chirag Dogra you can refer to this https://github.com/calcom/cal.com/issues/2396
c
It is a windows system
and CLI is GIT bash
a
https://calendso.slack.com/archives/C01V37YT188/p1674046036936989?thread_ts=1673863384.994809&cid=C01V37YT188
Did this help at all? If you already have the repo pulled, here's what you can do. • Open gitbash with elevated (Admin) privileges • In the elevated gitbash move to your project directory • From the elevated gitbash run the command
git config core.symlinks true
• From the elevated gitbash run the command
git config --get core.symlinks
and confirm that it returns true • Delete the
packages/prisma/.env
file • From the elevated gitbash run the command
git restore packages/prisma/.env
It should reload the
packages/prisma/.env
file as a symlink now, and the error should go away. Do let me know if this helped 🙏
c
Thanks Ali for help
But when I'm running I'm getting this
image.png
Although it is compiling in WSL
image.png
But....
image.png
Okay It has successfully compiled using dockder
docker
Thank you so much Ali
a
Although it is compiling in WSL
Okay, just to make sure you are aware of what was going on, yes, it was compiling just fine, but there was no Database server running. You needed to have an active DB server running and the link to connect to it. Docker solved this for you because Docker runs that server for you, but you could have just as easily installed Postgres and set it up for usage 🙂 I'm glad it is all sorted though, 🙏
c
Exactly this is what I was thinking. That, I don't have postres installed, maybe this is why I'm getting this error