1

I tried to install Node.js on the Windows 10 64 bit using installer.

When I run installe.exe I accept rules and push next button, in any case I get the following notification: enter image description here

When I tried to set path of downloaded install file:

enter image description here

And get this error again.

neophyte
  • 6,540
  • 2
  • 28
  • 43
Babaev
  • 105
  • 9

1 Answers1

0

@Babaev From what you said, I guess its a problem related to path issue or rather the .msi file may have been corrupted on download. Try the windows binary that is .exe file from https://nodejs.org/en/download/ let's say we have the node.exe file located in the folder c:\nodejs. Now to setup npm-

Step 1: Download the latest npm release from GitHub(https://github.com/npm/npm/releases) Step 2:Create folders c:\nodejs\node_modules and :\nodejs\node_modules\npm
Step 3:Unzip the downloaded zip file in c:\nodejs\node_modules\npm folder Step 4:Copy npm and npm.cmd files from c:\nodejs\node_modules\npm\bin to c:\nodejs folder.
Step 5: As the final step you can add node's folder pathc:\nodejs to the path environment variable so that you don't have to specify full path when running node.exe and npm at command prompt.

Hope this helps :)

Milen Louis
  • 223
  • 4
  • 11