-
Notifications
You must be signed in to change notification settings - Fork 51
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
Issue running on ubuntu #10
Comments
Can you still get a stack trace for both? It should fallback gracefully in either case, I'll try to reproduce and make sure :)
|
OK so it's a bug with sodium |
can you run it w/ the -v and post the full output on this issue? I can probably fix it here and add better logging too :) |
CS3a failed to load { [Error: Cannot find module './tobuffer'] code: 'MODULE_NOT_FOUND' }
|
Can you try pulling from the node-telehash repo and npm update to make sure everything is updated? I can't reproduce the length error, and am not sure if it was the few fixes in the last day or so? |
So that still gives me the same
|
Yep, awesome!!! Also, if it doesn't close by tomorrow, I may just fork node sodium and point to a git dependency instead of the npm ver for cs3a :) |
Sounds reasonable Can I ask why you use it if there is a fallback anyway? |
The fallback is just lesser crypto, so it's preferable to have sodium working whenever possible, and when we get closer to stable then definitely want it working well. I've been wanting to set up a fallback to https://github.com/tonyg/js-nacl, or find some way to merge the two so it presents the same interface to node and browserify. If you're up for forking and maintaining a more stable version and/or heading down that path, I'm totally happy to point to your repo instead of the npm one :) |
K point to https://github.com/tearmann/node-sodium for now. Would be nice to have the node version abstraction such as https://github.com/rvagg/nan as well as a safer windows build. |
Heh, tried pointing to yours, errors on osx :) Totally agree on the compiled mess w/ node :/ make sodium |
@quartzjer closing as sodium 1.0.11 in NPM now builds without submodule support on Linux and Mac with Windows coming soom. |
Hi
So I had problems getting libSodium to work as it kept throwing
error while loading shared libraries: libsodium.so.4
when I tried to run seed.jsI eventually worked around this by doing a separate sodium standard build that put the file into /usr/local/lib
But now I am recieving
CS3a failed to load { [Error: Cannot find module './tobuffer'] code: 'MODULE_NOT_FOUND' }
Is there a file missing from the CS3a module?
Thanks
The text was updated successfully, but these errors were encountered: