If you land here, then you need it absolutely. I used to get stuck with it so I think it’s helpful somehow to you guys out there. Enjoy!
Problem:
Cannot install snappy, a prerequisite for heroku-kafka plugin via npm, which is basically derived from failure of node-gyp rebuild.
Solution:
- Create a new C++ project in VS 2015. It will install necessary libraries and sdk for snappy installation
2. Update nodejs and node-gyp using npm -g install npm@next
3. Install snappy
4. Install heroku kafka plugin
You’re done. Congrats! Enjoy streaming!