website icon indicating copy to clipboard operation
website copied to clipboard

REPL throwing TypeError

Open anthony-telljohann opened this issue 9 years ago • 6 comments

https://babeljs.io/repl/ is throwing the error below:

react-dom.production.min.js:23 TypeError: document.body.append is not a function(…)

anthony-telljohann avatar Oct 16 '17 11:10 anthony-telljohann

Interesting, I don't have this issue on my side (even after cleaning the cache).

Can you see the REPL? Could you retry after cleaning your cache?

xtuc avatar Oct 16 '17 13:10 xtuc

it works for me too.

rajasekarm avatar Oct 25 '17 12:10 rajasekarm

Not sure if this is related, but I clicked "Try" on the JavaScript block of code in the "JSX and Flow" section of the homepage. Here's the REPL.

I'm getting this error without making any modifications to the sample: repl: Unexpected token, expected { (6:19) 4 | }, 5 |

6 | getRandomNumber(): number { | ^ 7 | return Math.ceil(Math.random() * 6); 8 | }, 9 |

I can't get that block formatted correctly, sorry.

joosebox avatar Oct 26 '17 04:10 joosebox

@joosebox thanks for the report! that issue (though unrelated) should now be fixed!

existentialism avatar Oct 26 '17 04:10 existentialism

@existentialism well that was fast! awesome! :)

mind letting me know what the fix was? curiosity is getting the best of me. thanks in advance!

joosebox avatar Oct 26 '17 04:10 joosebox

@joosebox landed https://github.com/babel/website/pull/1434, which fixed a bug caused by a recent PR! (though I just found another lol)

existentialism avatar Oct 26 '17 04:10 existentialism