You have to install node-ffi in order to work with Cards node module (https://github.com/node-ffi/node-ffi#installation).