Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load StringPrep-0.1.0 bindings (node-xmpp)? #7

Open
calweb opened this issue Dec 4, 2013 · 1 comment
Open

Cannot load StringPrep-0.1.0 bindings (node-xmpp)? #7

calweb opened this issue Dec 4, 2013 · 1 comment

Comments

@calweb
Copy link

calweb commented Dec 4, 2013

Hello,

I was trying to standup a local bond instance, but have been getting errors and they seem to be related to the node-xmpp module, specifically said module's dependency on node-stringprep

Here's the error I get in my console:

[48121:1203/195547:INFO:CONSOLE(14)] "Cannot load StringPrep-0.1.0 bindings. You may need to `npm install node-stringprep'", source: /Users/calvinwebster/Documents/gitProjects/bond/app/node_modules/node-xmpp/lib/xmpp/jid.js (14)

and here's the node-webkit error:

Uncaught node.js Error 

TypeError: Cannot call method 'end' of undefined
    at Client.Connection.onEnd (/Users/calvinwebster/Documents/gitProjects/bond/app/node_modules/node-xmpp/lib/xmpp/connection.js:277:17)
    at CleartextStream.<anonymous> (/Users/calvinwebster/Documents/gitProjects/bond/app/node_modules/node-xmpp/lib/xmpp/connection.js:56:14)
    at CleartextStream.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:910:16
    at process._tickCallback (node.js:351:13)

I tried to do some digging and have found some issues related:
xmppo/node-stringprep#36
xmppo/node-stringprep#31

I guess I'm curious if you guys have run into this and I'm just forgetting something. (could likely be PEBKAC)

I'm running:
Node v0.10.12
Npm 1.3.7
Grunt v0.4.2
Mac OSX 10.8.5

@lloydwatkin
Copy link

Ahh OSX issue might be your problem, it uses a more recent version of libicu (50.X). Suggest you look at the node-stringprep readme as there's potentially some useful information there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants