Is export to tarball broken or is it just me?

Hi everyone,

I’m trying to export my notebook to a standalone webpage. Is this possible? When I click on download tarball and then open the html file, I get this error in the console:

Uncaught SyntaxError: The requested module './long-run-marginal-cost-breakdown-by-unit.js' does not provide an export named 'notebook'

This is the notebook I’m trying it on.
Any suggestions?

Thanks in advance,

Hi Durand,

I’m very sorry to say that it’s not just you. We (but really, it was all my fault) broke tarball exports — and have now just pushed a fix that should have them working again. If you re-download your tarball, you should be good to go.


Cool, it works!

Did you just remove the curly braces {} around notebook? Because I was just going to post that that did the trick…

Thanks for the quick fix!

That’s exactly right. (Changing it from a named export to a default one.)

We were swapping over from default exports to named exports internally, and some of the notebook-export code inadvertently got caught in the crossfire.

1 Like