mnt
WWasp-lang
•Created by mnt on 10/27/2024 in #đŸ™‹questions
wasp db migrate-dev error with brand new installation
For those who come here, the problem was with the version of node.js I was using. I had node 22 installed and when I downgraded to node 18, things just magically started working
17 replies
WWasp-lang
•Created by mnt on 10/27/2024 in #đŸ™‹questions
wasp db migrate-dev error with brand new installation
@kapa.ai Does this error have anything to do with the wasp upgrade to 0.15.0
17 replies
WWasp-lang
•Created by mnt on 10/27/2024 in #đŸ™‹questions
wasp db migrate-dev error with brand new installation
@kapa.ai
17 replies
WWasp-lang
•Created by mnt on 10/27/2024 in #đŸ™‹questions
wasp db migrate-dev error with brand new installation
I'm using wasp version 0.15.1
17 replies
WWasp-lang
•Created by mnt on 10/27/2024 in #đŸ™‹questions
wasp db migrate-dev error with brand new installation
OK, that's strange. there is a schema.prisma file in the root folder of the app already. I do have a .env file, but it says that the database url is not needed if you run wasp start db (which is what I did):
NOTE: you can let Wasp set up your Postgres DB by running
wasp start db
in a separate terminal window.
then, in a new terminal window, run wasp db migrate-dev
and finally wasp start
.
If you use wasp start db
then you DO NOT need to add a DATABASE_URL env variable here.17 replies