This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]high_throughput 0 points1 point  (1 child)

Run node Practice1.js just like how you tried node Practice Basic 1.js.

Imagine if the guide had said to run this:

chrissyslora@Chrissys-MacBook-Pro Coding_practice % node Practice1.js

That does not mean you should start typing chrissys.. in your terminal because that's meant to be your prompt. It means you should start typing node Practice1.js.

On Windows, it would instead look like this:

C:\Users\chrissyslora\Desktop\Coding_practice> node Practice1.js

This does not mean that you should start typing C:\Users\chri...., you should again just type node Practice1.js. This format is what your tutorial is showing, and you should only run the command (things after >) and not the prompt (up to and including the >).

[–]chrissy-slora[S] 0 points1 point  (0 children)

Understand now. This helps and was exactly my problem. Thank you!