This is relying on a globally installed module 'keydb'. (or installed at a higher level node_modules folder) You should require the local module with '../keydb'. You may want to uninstall the global module to prevent this from working locally in the future.