You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting up the environment variables from the CLI, the .env file was created with the correct variables. After building and running i kept getting the following error:
This suggested that the .env file credentials were not being accessed correctly.
I had to make some small modifications to the src/app.ts file:
src/config.ts:
I also installed the dotenv package.
After making these changes, building and running, the app worked well.
Just thought i'd let you guys know about this issue i faced.
The text was updated successfully, but these errors were encountered:
Package Manager:
NPM
Plugin:
@adminjs/express
Adapter:
@adminjs/sql
Database Driver:
MySQL
OS:
MacOS Sonoma 14.5
After setting up the environment variables from the CLI, the .env file was created with the correct variables. After building and running i kept getting the following error:
This suggested that the .env file credentials were not being accessed correctly.
I had to make some small modifications to the src/app.ts file:
src/config.ts:
I also installed the dotenv package.
After making these changes, building and running, the app worked well.
Just thought i'd let you guys know about this issue i faced.
The text was updated successfully, but these errors were encountered: