Skip to content

Commit d84512f

Browse files
authored
Update node_modules reference in part3a.md
It says npm install creates node_modules which was misleading to students and they can get confused . Fixed That , npm install creates node_modules directory .
1 parent 102bd30 commit d84512f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/3/en/part3a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ What exactly is happening in that line of code? <em>notes.map(n => Number(n.id))
745745

746746
**NB:** Because this is not a frontend project and we are not working with React, the application <strong>is not created</strong> with create vite@latest -- --template react. You initialize this project with the <em>npm init</em> command that was demonstrated earlier in this part of the material.
747747

748-
**NB:** Because the "node\_modules" is created using "npm init", it will not be excluded when you are trying to add your code to git using "git add .", therefore please create a file called ".gitignore" and write "node\_modules" so that git ignores it everytime you try to add, commit or push to a remote repo.
748+
**NB:** Because the "node\_modules" is created using "npm install express", it will not be excluded when you are trying to add your code to git using "git add .", therefore please create a file called ".gitignore" and write "node\_modules" so that git ignores it everytime you try to add, commit or push to a remote repo.
749749

750750
**Strong recommendation:** When you are working on backend code, always keep an eye on what's going on in the terminal that is running your application.
751751

0 commit comments

Comments
 (0)