这里有一个教程,使用Vercel+Supabase:
https://route360.dev/en/post/umami-supabase/
目前报错:
Error: P3005
The database schema is not empty
解决方法:
1、Clone the forked Umami repository to local
2、Add DATABASE_URL environment variable to .env of 1
[ol]DATABASE_URL=postgres://postgres:[YOUR-PASSWORD]@[HOST]:6543/postgres?pgbouncer=true[/ol]复制代码
3、Run the following code on local:
[ol]yarn install
yarn build-db
npx prisma migrate resolve --applied 01_init[/ol]复制代码
该怎么搞?我电脑本地安装node.js环境吗?