how can i get rid of the error?
I used "npm i" and still nothing changes
enter image description here
I want to be able to see the database on port 8000, but something is probably not configured. what solution can there be here?
how can i get rid of the error?
I used "npm i" and still nothing changes
enter image description here
I want to be able to see the database on port 8000, but something is probably not configured. what solution can there be here?
3
Answers
If I understant correctly, you are trying to use the host and the port in your .env file, and if they’re not declared, you want to use localhost:3000.
to accomplish this, the correct JS syntax should resemble to this :
Hope this helps
just remove space between 2 question marks (?)
probably you have no .env file. Add your project the .env file and your port