Well I started to learn how to create api rest and when I want to call it in the proccess.env it doesn't recognize it.
I already have dotenv installed this is how my .env file looks like
this is the error, I have tried with other ports but I get the same error .
I also tried following:
require('dotenv').config({path: '../.env'});
require('dotenv').config({path: '../../.env'});
and all I get is this
I hope I made myself understood, I tried to search on yt but found no answer. Thank you for your time