Why am I getting E_MISSING_ENV_VALUE when I have .env file in root when running migration? #3692
Answered
by
RomainLanz
matthewswallace
asked this question in
Help
-
I have the following .env file setup in the root of my project.
I'm using lucid and auth plugins and a MySQL db. My env.ts file looks like this.
|
Beta Was this translation helpful? Give feedback.
Answered by
RomainLanz
Apr 24, 2022
Replies: 1 comment 1 reply
-
Hey @matthewswallace! 👋🏻 The error is more than just Looking at the info you shared, you are validating |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RomainLanz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @matthewswallace! 👋🏻
The error is more than just
E_MISSING_ENV_VALUE
, it tells you that you are requiring some environment variables but you didn't defined them.Looking at the info you shared, you are validating
MSSQL
variable, but you are usingMYSQL
.