Skip to content
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

ClojureScript "undefined is not an object" Error on Tab Refresh #1225

Open
kyleerhabor opened this issue Jul 6, 2021 · 1 comment
Open
Labels
bug Something isn't working output/repl window

Comments

@kyleerhabor
Copy link

kyleerhabor commented Jul 6, 2021

I'm experimenting with ClojureScript and have the Getting Started REPL session open for the browser. Using commands and writing Clojure works as expected, but as soon as I refresh the tab, writing code for the REPL stops working. The error is always logged as so:

; Execution error (TypeError) at (<cljs repl>:1).
; Cannot read property 'pprint' of undefined

I was using Safari Technology Preview (Release 127 (Safari 15.0, WebKit 16612.1.18.11.3)) at the time, so I tried running it in Google Chrome (Version 91.0.4472.114 (Official Build) (x86_64)), but sadly got the same issue. Is there a workaround for this?

@bpringe
Copy link
Member

bpringe commented Jul 7, 2021

Thanks for reporting. I can reproduce this as well. @PEZ It seems something is wrong with printing of results after a refresh of the browser page. I also see duplicate stacktrace code lenses as described in #882. I'll defer to you since you added this feature and are more familiar with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working output/repl window
Projects
None yet
Development

No branches or pull requests

2 participants