Skip to content

missing database name in .env file on Adonis Lucid Postgres project #97

@Clement-Mchar

Description

@Clement-Mchar

Extension Version

v2.1.1

OS and Version

Windows 11 x64

VS Code Version

1.98.2

Database name and Version

psql 16.3

Steps to reproduce

  1. launch VsCode
  2. download devdb extension
  3. profit. Wait, actually no, got an error message "missing database name in .env file"
  4. take a look at .env file, see "DB_DATABASE" with the correct value written
  5. refresh, still not working
  6. restart extension, still not working
  7. restart vscode, typescript server, still not working
  8. go "????" 😆

Expected behavior

Since provided infos were correct I expected it to find my db name and make the magic of zero-config feature operate, but it doesn't. I took a look at the env-parser file for adonis project and it seems like my .env config is correct, so idk

Screenshots

Image

Additional context

I tried to use .devdbrc but it doesnt seem to work either 😄

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions