Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.78 KB

NPM-Install-on-windows.md

File metadata and controls

38 lines (25 loc) · 1.78 KB

This information was current as of May 6th 2016.

Tips

  • On a virtualbox share your working folder so you can manage git and use your editor from osx.

Install a node.js application on Windows

  1. Install node
  2. Install git
  3. Install python - 2.7.11 x86-64 MSI
  4. Set PYTHON environment variable
    1. Right click on "My Computer" and select "Properties"
    2. Find and select "Advanced system settings"
    3. Find and select "Environment Variables"
    4. On the 'User variables' press the "New..." button
    5. Variable Name: PYTHON Value: C:\python27\python.exe
    6. Click "OK" all the way back.
  5. Install Visual C++ Build Tools 2015 (link no longer exists) - Complete solution here
    • Update 5/30/2016: LOL, Microsoft decided to pull down the link to download the required runtime, hopefully I had a copy and uploaded on my personal store: http://than.pol.as/gJGq - hopefully I won't get sued by MS...
    • IMPORTANT Choose "Custom Install", and select both Windows 8.1 and Windows 10 SDKs.
  6. Open CMD and type: npm config set msvs_version 2015 --global

You are now ready to perform npm install on the project

Troubleshooting

e:\app\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory [E:\app\node_modules\mdns\build\dns_sd_bindings.vcxproj]

To remedy this:

  1. Download and install Bonjour SDK for Windows.
  2. Restart Windows

Source