npm install heroku kafka plugin on Windows 64 bit

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.

prob1

Solution:

  1. Create a new C++ project in VS 2015. It will install necessary libraries and sdk for snappy installation

sol2

sol1

2. Update nodejs and node-gyp using npm -g install npm@next

sol3

3. Install snappy

sol4

4. Install heroku kafka plugin

sol5

You’re done. Congrats! Enjoy streaming!

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s