Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Uncaught ReferenceError: exports is not defined in `embed.js` #318
Here's the stack trace for
And the same for
This was using the Debian package.
I think I needed to use the
<script src="//comments.jeremydormitzer.com/js/config.js"></script> <script data-main="//comments.jeremydormitzer.com/js/embed" src="//comments.jeremydormitzer.com/js/components/requirejs/require.js"></script>
I have a feeling I could have done something similar to make it work with the Debian package?
Anyway, it seems to be working now. Thanks for the quick response!
I don't have a better workaround than manually installing the embed.min.js from master as commenters have mentioned above; but this was the first hit when I was trying to fix the problem myself, so I figured I'd save others the trouble of digging for the cause.
We intentionally rebuild everything that is not the preferred form of modification (e.g. minified files), so that we know it is possible to make modifications and built the resulting artefacts.
FWIW the broken 0.9.9 package never actually ended up in a Debian release because of this issue.