Problems installing openzwave on Node Red

I've just spent most of a day trying to install openzwave for Node Red on my Pi 3. I am hopelessly lost, and worse, the instructions I've found conflict with each other. I never even got to install openzwave, the prerequisites are where I am stuck.

The instructions in the git for openzwave got me the furthest, up to Step 3:

Step 3 says: > cd to the project directory.

What "project directory"? I posted an issue on the git, and Elias Karakoulakis (ekarak) suggested ~/.node-red.
But when I try to run test2.js from Step 3, I get tons of "Cannot find module" errors.

Any help would be really appreciated.