Hello! I downloaded node.js from the site, installed it along the following path: E: \ OpenServer \ nodejs, created a text file path.txt in openServer (... \ userdata \ config), wrote the path to node.js E in a text file: \ OpenServer \ nodejs, restart OpenServer and node.js does not work. What is wrong doing? In the OpenServer settings, in the "Server" section, I changed the path variable to Own Path + userdata / config / path.txt + Win Path enter image description here

  • And in PATH registered way to npm? - Darth
  • In screw PATH, to be honest, I do not know how to set the path to npm. But, if you open the Node console without an OpenServer Virt.server, everything works fine. You just need to integrate into OpenServer Node.js - Artem

1 answer 1

Try this: Install usually on Windows node.js (version LTS).

1) open the Windows command line and write npn -v If you see the version for example: 6.4.1 then everything works.

2) Now we will configure adding NodeJS to the ConEmu console - those Openserver:

настройки/Π‘Π΅Ρ€Π²Π΅Ρ€: ΠΈ ΡΠΌΠΎΡ‚Ρ€ΠΈΡˆΡŒ Π² окошкС "настройка использования ΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Π½ΠΎΠΉ Path": Π²Ρ‹Π±ΠΈΡ€Π°Π΅ΡˆΡŒ: Π‘Π²ΠΎΠΉ Path + Win Path 

3) in any directory should work: npn -v == (your version) for example 6.4.1

Good luck in the design :)