Closed Mazeee1 closed 2 years ago
Hey, it's indeed weird that you receive this error now. I haven't received it before either. Can you try running yarn prisma:generate
and after that node scripts/install
Thanks, that worked, but now it's now coming up with this error when I try to login:
The first one comes up when you load the page, and the second one when you click the login button. I forgot to add the .env file the first time, but I added it and used the --update-env on the end of the pm2 restart command.
I also made sure that the encryption key matched the format you said to use last time, and it still won't work.
there is a /undefined/ in your URL, I believe that's caused by a misconfigured domain in the .env
file, you will have to add NEXT_PUBLIC_DOMAIN="https://cdn.mazeee.xyz"
to the .env
file in order for it to work.
After some experimenting I think it was due to the new Ubuntu version. I created a new VPS with 21.10, and it worked fine, no problems. I had put that line in the .env file, so it was strange that it was doing that.
Anyway it works, so I'm going to stop doing anything else before I break it again Thanks for your help :)
Hello, it's me again :) I'm getting this error when I run the
node scripts/install
command when installing PaperPlane.Not sure whether it's a problem with my VPS, because this hasn't happened before. Strange.