📜 ⬆️ ⬇️

Using Node.js Package Manager on Windows

I wanted to play with the node for a long time, but life turned out to be so that I use Windows both at work and at home.

Only recently , the node itself has actually been ported to Windows (and not without the help of Microsoft, for which I thank them). This is good, but what about the npm package manager, which is used a little less than in all tutorials?

A long search led to several articles, in which it was stated in general terms about installing something that is incomprehensible and incomprehensible as (cygwin, etc.)
')
For a long time I couldn’t have the right to start npm, but at some point a wonderful article by some Pablo M. Cibraro came up. In which a simple language describes what and how to do.

In general, we are offered to put Python , then download the utility, for the authorship of Japj. And run it in the same way as npm - python ryppi install <module_name>

In addition, to use express you will need its modified version (because the original uses * nix-specific commands)

And one more remark for newbies like me. In order to use the modules of the node, you need to put them in the node_modules folder in the folder with the js file to run.

Source: https://habr.com/ru/post/130904/


All Articles