I don't understand why it says "Server started on port ${PORT}" instead of PORT 5000
Asked
Active
Viewed 40 times
-2

VolodymyrPTK
- 37
- 3
-
1Please post code as text and not as image ... – derpirscher Feb 22 '22 at 07:32
-
3Single quotes `'` are not used for templating. Graves `\`` are. – Liftoff Feb 22 '22 at 07:32
-
1Voting to close as a typo. – Liftoff Feb 22 '22 at 07:33
-
1Duplicate of [ECMAScript template literals like 'some ${string}' are not working](https://stackoverflow.com/questions/37245679/ecmascript-template-literals-like-some-string-are-not-working) – Ivar Feb 22 '22 at 07:36
-
1[Please do not upload images of code/errors when asking a question.](//meta.stackoverflow.com/q/285551) – Ivar Feb 22 '22 at 07:36
1 Answers
-1
change
'Server started on port ${PORT}'
to
`Server started on port ${PORT}`
documention: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

Lee
- 418
- 2
- 8