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 
- 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
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 :)
|