hangouts-bot
hangouts-bot copied to clipboard
Error: Cannot find module 'node-xmpp-core'
trafficstars
Hi
After i installed the module via npm install hangouts-bot there is still a module left.
var hangoutsBot = require('hangouts-bot');
var bot = new hangoutsBot(config.hangouts.email, config.hangouts.password);
I am running Windows and get the following error message:
λ node index.js
module.js:339
throw err;
^
Error: Cannot find module 'node-xmpp-core'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at new module.exports (C:\Users\user\Repositories\.tmp\proj\node_modules\hangouts-bot\index.js:7:16)
at Object.<anonymous> (C:\Users\user\Repositories\.tmp\proj\index.js:41:11)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
I don't know whether the npm package itself has been updated yet, but if you install the latest code from this repo, this issue should now be resolved (see #7).
Published