简体   繁体   中英

Nodejs Dotenv config variable is not working...Even Not any secrete key

Nodejs Dotenv config variable is not working...Even Not any secrete key is coming from process.env.variable.

See code here and here

Could it be, that port 5000 already is in use? proccess.env is working on line 14 as it looks.

Insert a console.log(process.env) in line 13. I think it will work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM