Skip to content

Vague doc #1049

Closed
Closed
@the-wazz

Description

@the-wazz
  • 8.9.3 LTS
  • Win10
  • Docs

Total noob here. I hit a wall on this page - https://nodejs.org/api/synopsis.html. Happens a lot, in all kinds of docs. I understand what's written, then get to: "To run the server, put the code into a file called example.js and execute it with Node.js:

$ node example.js
Server running at http://127.0.0.1:3000/

Q: i put the js file on my desktop. Is that ok?
Q: type the first line in a command prompt?
Q: is the second line a result or do I type that too?
Q: just type as-is? do i have to navigate to a specific dir?

I tried just typing the first line and nothing worked. Again, total noob here, but I kind of expect this to just work. There are clearly instructions missing. If you want people to get it, then please include everything, assume nothing. Please. Really tired of missing "obvious" instructions that are NOT obvious. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions