-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels


