Installing Node.js: Add information on npm installation
Checks
- [x] This is not a duplicate of an existing issue (please have a look through our open issues list to make sure)
- [x] I have thoroughly read and understand The Odin Project Contributing Guide
- [ ] Would you like to work on this issue?
Describe your suggestion
In the "Installing Node.Js" lesson, the lesson overview states:
"This section contains a general overview of topics that you will learn in this lesson.
Learn how to Install nvm (Node Version Manager) and **npm.** (bold by me)
Learn how to run Node console"
There is no such information on the installation of npm in this lesson and frankly I did not find any such info at all skimming trough the rest of the lessons. this is really bad, as we are supposed to run tests using npm and jester in the next lesson. While the necessary information is provided in the readme "how to use the exercises" it is still originally assumed to be already taught in the respective lesson.
Path
Foundations
Lesson Url
https://www.theodinproject.com/lessons/foundations-installing-node-js
(Optional) Discord Name
No response
(Optional) Additional Comments
No response
npm is also installed when you install node. You're right that the instructions don't seem to mention that, which could confuse some people. It only mentions that there is another tool called npm and that we'll use it later. We could possibly change "There is another tool called npm that we will later use" to "There is a tool that comes with the installation of node called npm" or something like that.
npm is automatically installed alongside node. I wouldn't be opposed to a sentence that mentions this towards the end of the lesson. Would that be enough to assuage your concerns @InvitaInvidia?
That'd be great @JoshDevHub . In that case the problem I ran into trying to execute the test for the js-exercise 01_HELLOWORLD (getting the error message "Command npm not found") was probably due to me installing node via the system terminal and not the vscode terminal which ended in my system termial running Node v22.16.00 and vscode running v12.22.9 (which resulted in further problems with jester after installing npm manually). After changing the .zhsrc-file it now works with v22.16.00 running in both terminals.
This issue is stale because it has had no activity for the last 30 days.
@JoshDevHub I can make a pr if we're still going ahead with adding a line about npm
Sorry it took a while to respond - go for it @GaneshS288