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
ripple-0.16.8.js error: fails due to the ripple-lib missing arguments in... #702
Comments
I can confirm this issue. https://xagate.com/rippleapi/get_wallet.html uses 0.16.5.js meanwhile I have copied the file to https://xagate.com/rippleapi/testbug.html modifying the source to 0.16.8.js which breaks the functionality. The latter produces the following errors: ripple-0.16.8.js:5500 Uncaught ReferenceError: _ is not defined and undefined testbug.html:7 Uncaught TypeError: Cannot read property 'RippleAPI' of undefined |
@darkdarkdragon made lodash a separate dependency, try including lodash 3.1 separately |
@jnr101 This shouldn't be a problem in the current version of ripple-lib. Please let us know if you find otherwise. Thanks! |
@intelliot I tested it and it worked. Thanks! |
@jnr101 Good catch. I've updated
It works now because our example code now includes this script tag. By the way, we plan to release 0.17.8 shortly, which works around a bug that can cause Safari 10.1 to freeze. I recommend upgrading when it's available next week :) |
@intelliot you are correct, that line needs to be included. |
Hello,
When building the ripple-0.16.8.js following the guidelines from https://ripple.com/build/rippleapi-beginners-guide/#build-instructions an error occurs when using the ripple-0.16.8.js.
it fails due to the ripple-lib missing arguments in the function(modules, exports) on line 5500 where: module.exports = _;
Can you check please?
Thanks
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31803136-ripple-0-16-8-js-error-fails-due-to-the-ripple-lib-missing-arguments-in?utm_campaign=plugin&utm_content=tracker%2F323756&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F323756&utm_medium=issues&utm_source=github).Jn_r
The text was updated successfully, but these errors were encountered: