simple-xmpp / node-simple-xmpp

Simple High Level NodeJS XMPP Client
301 stars 90 forks source link

error in browserify to bundle the simple-xmp #40

Closed twhtanghk closed 10 years ago

twhtanghk commented 10 years ago

browerify the following file always reports Error: Cannot find module './lib/node-xmpp-browserify'. Any idea or suggestion. Thanks

index.js:

(function() {
  var xmpp;

  xmpp = require('simple-xmpp');

  xmpp.on('online', function() {
    return console.log('online');
  });

  xmpp.connect({
    jid: 'abc.com',
    password: '',
    boshURL: 'http://abc.com:5280/http-bind'
  });

}).call(this);
silverbucket commented 10 years ago

Hmmm.. you probably want to direct this issue to the node-xmpp project https://github.com/node-xmpp/node-xmpp I know they've been going through a code organization restructuring so it would be helpful to let them know.