-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patchwatcher uses node-gyp which requires a few extra things on Windows #108
Comments
Oh lordy. That sounds like a nightmare. Are there any filewatching packages that don't suck on Windows (but also not on OS X/Linux)? Seems like there's a bajillion of these things and they all have quirks |
I'm not aware of other options. On the other hand, is polling an option? I remember Compass having a |
It's not that bad. IIRC I only needed to install python and Visual Studio (which many windows devs use anyway) and didn't have to configure anything at all. Also, node-gyp is used by many packages, and you only have to do this once. |
Agreed. The procedure above isn't really that bad. It's just installing platform-specific tools and Python. What's bad is node-gyp's documentation up front which tells you to install a bajillion other things you don't actually need and tweak a few values which you don't actually have to. Tried this morning, it installed that bloated IDE, IIS, SQL, .NET and potentially many more when all I needed was for node-gyp to compile some module. Should anyone come across issues on Windows after upgrading gobble, hopefully this solves their problems without having to read that very long thread and having to install VS which they don't really need. |
I know |
Have moved this into the wiki – https://github.com/gobblejs/gobble/wiki/Troubleshooting – so I'll close this as I don't think there's anything else to be done here |
Not sure where to leave this (probably in the wiki) but here goes.
pathwatcher
usesnode-gyp
.node-gyp
can be a pain to set up on Windows. So for Windows users, follow the instructions in this comment for instructions on how to getnode-gyp
running without exploding spectacularly.TL;DR:
PATH
(The installer usuallt does it for you. Just reopen your terminal.)npm config set python python2.7
npm config set msvs_version 2015 --global
The text was updated successfully, but these errors were encountered: