I’d suggest starting with considering this:
“I think the error message indicates that the environment variable
$DATABASE_URLis not set, and no connect string is given.”
If that doesn’t help then maybe you are using old version or versions of things? Or one old package with some new ones? Or trying old code/commands with new packages?
See here. (You may want to read the original post and comments there and the other answers.) Or here seems to list some gotchas with what you see being one and offers to
Here and here also suggest you have old stuff are or you are trying old approaches with new tech.
You may be able to decipher better looking at your package versions and trying different things suggested where I linked.