Skip to content

Instantly share code, notes, and snippets.

@nullivex
Last active February 8, 2022 19:57
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save nullivex/7115612 to your computer and use it in GitHub Desktop.
Save nullivex/7115612 to your computer and use it in GitHub Desktop.
Windows 7 64bit, NodeJS 32bit, MongoDB, Mongoose, Bcrypt, SocketIO, Canvas, Git

Windows NodeJS Stack

This took me several hours to figure out so I figured it was worth writing down.

Hopefully this step by step can be used to get node running locally without a lot of problems that are commonly ran into.

Downloads

Update July 7th 2014 - Updated most of the versions including not pointing to the heartbleed version of OpenSSL

I prefer to get everything needed downloaded before installing. (These are the working versions that I used however the latest "should" work. Python must be 2.x though)

Notes

Before starting to install anything I would highly recommend removing any existing Visual C++ packages that have been installed and performing a reboot afterwards.

Installation

Install the packages in the following order. Make sure and install in the default paths for everything.

Final Thoughts

  • Stick with 32bit NodeJS, Python, MongoDB, OpenSSL, GTK+, etc. There isnt a huge upside to 64bit except for a lot of trouble with compilers and versions of some of these dependencies. I wouldnt imagine anyone is planning to use this stack for anything besides a development instance anyway.
  • What caused me the most trouble was getting my path straightened out here is the path I had after everything was completed please not that you will need to subsitute the proper user for the NPM globals path.
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\nodejs\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Users\JT4\AppData\Roaming\npm\;C:\Program Files (x86)\Git\bin\

It would be best to just compare this path to what you have and make sure the main elements are there.

Other than that you should now have a full stack capable node dev environment on Windows.

Bash / Cgywin / Powershell

Follow this guide https://gist.github.com/Spudz76/7166291

Without this guide the development environment isnt complete.

Copy link

ghost commented Oct 31, 2020

thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment