Open CDN18 opened 1 year ago
Thanks for the report, I need to update the instructions. In the meantime you can use pnpm prisma db push
to generate and push the DB to your remote.
Thanks for your help, my instance can build and run without problem now.
If you want to update the instructions part, perhaps the running with pm2
section also needs to be updated. I got the following error while executing pm2 start pnpm --name drift --interpreter bash -- start
, but I can use pm2 run "pnpm start" --name drift
without problem.
1|Drift | /home/node/v18.16.0/bin/pnpm: line 2: `require('./lib/corepack.cjs').runMain(['pnpm', ...process.argv.slice(2)]);'
1|Drift | /home/node/v18.16.0/bin/pnpm: line 2: syntax error near unexpected token `'./lib/corepack.cjs''
~Regarding build and setup, I also have a question about the GitHub OAuth configuration:~
~How should I set up the callback URL? I've currently set it as https://<my_drift_instance>
, but I'm experiencing errors with registration and login.~
Edit: It turns out that I set HTTP://<my_drift_instance>
as NEXTAUTH_URL
instead of HTTPS://<my_drift_instance>
, which is the real url.
Describe the bug I'm trying to perform a fresh install on the refactor branch. However
pnpm build
results in an error saying thatThe table
public.postsdoes not exist in the current database.
To Reproduce Steps to reproduce the behavior:
refactor
branch, initialize an empty database, fill in.env
and install dependenciespnpm build
Expected behavior The build exits successfully.
Stacktrace