K
K
keslo2015-06-05 00:14:36
Node.js
keslo, 2015-06-05 00:14:36

Where is the NodeJS folder on MacOS?

Good evening gentlemen.
I'm going through a NodeJS screencast by Ilya Kantor. There is a section on creating an application. So I don't understand how to create my own folder for the project in the nodejs/modules folder.
Those. where is the folder with NodeJS and how to get there?
Is it possible to create a project folder on the desktop and work with NodeJS through it?
Addition to the question
**************************
I try to install express in the folder with the chat project, but I get errors:
492cc948d0f04999970e16e6e55078de.tiff

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Shemsedinov, 2015-06-05
@MarcusAurelius

The folder with the project does not need to be created in the node folder, on the contrary, it needs to be created with your personal directory, on the desktop, where it is convenient for you. npm will install local packages in node_modules inside the project folder, and global packages where needed. You don't even have to worry about this place.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question