nodejs.org icon indicating copy to clipboard operation
nodejs.org copied to clipboard

No installation doc

Open Chris-AGR opened this issue 9 years ago • 8 comments

  • nodejs.org:
  • All browsers:
  • windows:

There is no installation guide/doc for windows using node.exe file. Due to administrative and firewall so folks are unable to download the msi installer.

Chris-AGR avatar Nov 29 '17 20:11 Chris-AGR

What would you expect from an installation guide in this case?

fhemberger avatar Dec 19 '17 08:12 fhemberger

Self extracting and installing downloads are great, I prefer the ease due to the work load we enjoy. Unfortunately, because of heightened security rules on the network, those types of files (zip, msi, etc.) are not allowed to be downloaded. Oddly enough, executables are able to be properly scanned and so are allowed. Without the availability of the self installers it makes demoing a system like nodejs more time consuming and difficult to achieve.

A short guide on how to install nodejs using the executable would be a great addition to the nodejs website. A short and simple step by step approach would work. Although it seems elementary, and is, at least two people I know have been deterred from trying out nodejs. My guess is there are many more.

thanks.

Chris-AGR avatar Dec 19 '17 14:12 Chris-AGR

A short guide on how to install nodejs using the executable would be a great addition to the nodejs website. A short and simple step by step approach would work.

Don't you just download and double-click on the executable (or run .\node on the command line)? Is it adding node to the path that you would like to be documented?

cc/ @nodejs/platform-windows

gibfahn avatar Dec 28 '17 13:12 gibfahn

Yes, it's just an executable file that you either double-click or run from the command line, exactly like you would if you had installed it with the installer. Where you place this executable is completely up to you, so there is nothing to document.

I suggest closing this as an answered question.

seishun avatar Dec 28 '17 13:12 seishun

I'll close for now, but we can reopen if @Chris-AGR still feels there is information that needs documenting.

gibfahn avatar Dec 28 '17 14:12 gibfahn

@gibfahn

I'm really trying to demo react-native. If I just download and double-click on the nodejs executable and try this command:

npm install -g create-react-native-app

I get the message "npm should be run outside of the node repl, in your normal shell."

If I run command in the normal shell I get the message:

"'npm' is not recognized as an internal or external command, operable program or batch file."

So, some small installation guide would be helpful for folks like me trying to install with only the executable. thanks.

Chris-AGR avatar Dec 29 '17 21:12 Chris-AGR

@Chris-AGR I think npm is not in your path.

daxlab avatar Dec 30 '17 03:12 daxlab

@Chris-AGR the problem is that npm is a load of javascript files, not part of the node executable. In fact the node.exe is not particularly useful for most people as it's missing npm, so you can't install any modules with it.

If you download and extract the zip files (on a computer that's not behind the firewall) you'll see that it contains the node.exe binary, and also lots of npm files (and the .msi is basically the zip + a built-in installation script). You need all of those things to actually use node.

Also, if you're not allowed to download .zip files, then you probably won't be able to use npm, as npm install downloads the modules as tarballs, and if .zip is blocked, .tar.gz probably will be too.

gibfahn avatar Dec 30 '17 19:12 gibfahn