Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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.

@nullivex

This comment has been minimized.

Copy link
Owner Author

nullivex commented Oct 24, 2013

I just tested this guide on Windows 8 64-bit and worked like a charm there.

@nullivex

This comment has been minimized.

Copy link
Owner Author

nullivex commented Oct 26, 2013

Also works fine with Mongoose 64-bit. However its not really necessary in development environments.

@nullivex

This comment has been minimized.

Copy link
Owner Author

nullivex commented Jul 7, 2014

Just as a side node, the GTK+ can be safely skipped 99% of the time unless you want to use the "canvas" package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.