Actually you have define the path of the .env file. Try like this import * as dotenv from "dotenv"; dotenv.config({ path: __dirname+'/.env' });.
確定! 回上一頁