Why Does Terminal Only Shows Blank Screen


#1

Hi, I’ve been trying to access the console but everytime i’m just met with a blank screen.

Below is what my browser console gives me.

   DevTools failed to parse SourceMap: https://api.glitch.com/.../wetty/socket.io/socket.io.js.map
hterm_all.js:8369 Uncaught TypeError: Cannot read property 'style' of undefined
    at hterm.ScrollPort.decorate (hterm_all.js:8369)
    at hterm.Terminal.decorate (hterm_all.js:10656)
    at wetty.js:32
    at initNext (hterm_all.js:185)
    at hterm_all.js:1474
hterm.ScrollPort.decorate @ hterm_all.js:8369
hterm.Terminal.decorate @ hterm_all.js:10656
(anonymous) @ wetty.js:32
initNext @ hterm_all.js:185
(anonymous) @ hterm_all.js:1474
setTimeout (async)
onWindow @ hterm_all.js:4940
setTimeout (async)
(anonymous) @ hterm_all.js:4982
initNext @ hterm_all.js:183
setTimeout (async)
lib.init @ hterm_all.js:194
(anonymous) @ wetty.js:28
Emitter.emit @ socket.io.js:6864
Socket.emit @ socket.io.js:7750
Socket.onconnect @ socket.io.js:7944
Socket.onpacket @ socket.io.js:7840
(anonymous) @ socket.io.js:8109
Emitter.emit @ socket.io.js:6864
Manager.ondecoded @ socket.io.js:3558
(anonymous) @ socket.io.js:8109
Emitter.emit @ socket.io.js:3011
Decoder.add @ socket.io.js:1276
Manager.ondata @ socket.io.js:3548
(anonymous) @ socket.io.js:8109
Emitter.emit @ socket.io.js:6864
Socket.onPacket @ socket.io.js:4266
(anonymous) @ socket.io.js:4083
Emitter.emit @ socket.io.js:6864
Transport.onPacket @ socket.io.js:5514
callback @ socket.io.js:5262
(anonymous) @ socket.io.js:6139
exports.decodePayloadAsBinary @ socket.io.js:6138
exports.decodePayload @ socket.io.js:5906
Polling.onData @ socket.io.js:5266
(anonymous) @ socket.io.js:4813
Emitter.emit @ socket.io.js:6864
Request.onData @ socket.io.js:4983
Request.onLoad @ socket.io.js:5064
xhr.onreadystatechange @ socket.io.js:4936
XMLHttpRequest.send (async)
Request.create @ socket.io.js:4948
Request @ socket.io.js:4853
XHR.request @ socket.io.js:4780
XHR.doPoll @ socket.io.js:4810
Polling.poll @ socket.io.js:5236
Polling.onData @ socket.io.js:5275
(anonymous) @ socket.io.js:4813
Emitter.emit @ socket.io.js:6864
Request.onData @ socket.io.js:4983
Request.onLoad @ socket.io.js:5064
xhr.onreadystatechange @ socket.io.js:4936
XMLHttpRequest.send (async)
Request.create @ socket.io.js:4948
Request @ socket.io.js:4853
XHR.request @ socket.io.js:4780
XHR.doPoll @ socket.io.js:4810
Polling.poll @ socket.io.js:5236
Polling.doOpen @ socket.io.js:5181
Transport.open @ socket.io.js:5449
Socket.open @ socket.io.js:4055
Socket @ socket.io.js:3934
Socket @ socket.io.js:3844
Manager.open.Manager.connect @ socket.io.js:3439
Manager @ socket.io.js:3295
Manager @ socket.io.js:3264
lookup @ socket.io.js:118
(anonymous) @ wetty.js:2
hterm_all.js:8536 Uncaught TypeError: Cannot read property 'style' of undefined
    at hterm.ScrollPort.setBackgroundColor (hterm_all.js:8536)
    at hterm.Terminal.setBackgroundColor (hterm_all.js:10043)
    at Array.background-color (hterm_all.js:9724)
    at hterm.PreferenceManager.lib.PreferenceManager.notifyChange_ (hterm_all.js:2106)
    at hterm.PreferenceManager.lib.PreferenceManager.notifyAll (hterm_all.js:2086)
    at hterm.Terminal.<anonymous> (hterm_all.js:9983)
hterm.ScrollPort.setBackgroundColor @ hterm_all.js:8536
hterm.Terminal.setBackgroundColor @ hterm_all.js:10043
background-color @ hterm_all.js:9724
lib.PreferenceManager.notifyChange_ @ hterm_all.js:2106
lib.PreferenceManager.notifyAll @ hterm_all.js:2086
(anonymous) @ hterm_all.js:9983
setTimeout (async)
(anonymous) @ hterm_all.js:1974
setTimeout (async)
lib.Storage.Local.getItems @ hterm_all.js:2927
lib.PreferenceManager.readStorage @ hterm_all.js:1955
hterm.Terminal.setProfile @ hterm_all.js:9982
hterm.Terminal @ hterm_all.js:9612
(anonymous) @ wetty.js:30
initNext @ hterm_all.js:185
(anonymous) @ hterm_all.js:1474
setTimeout (async)
onWindow @ hterm_all.js:4940
setTimeout (async)
(anonymous) @ hterm_all.js:4982
initNext @ hterm_all.js:183
setTimeout (async)
lib.init @ hterm_all.js:194
(anonymous) @ wetty.js:28
Emitter.emit @ socket.io.js:6864
Socket.emit @ socket.io.js:7750
Socket.onconnect @ socket.io.js:7944
Socket.onpacket @ socket.io.js:7840
(anonymous) @ socket.io.js:8109
Emitter.emit @ socket.io.js:6864
Manager.ondecoded @ socket.io.js:3558
(anonymous) @ socket.io.js:8109
Emitter.emit @ socket.io.js:3011
Decoder.add @ socket.io.js:1276
Manager.ondata @ socket.io.js:3548
(anonymous) @ socket.io.js:8109
Emitter.emit @ socket.io.js:6864
Socket.onPacket @ socket.io.js:4266
(anonymous) @ socket.io.js:4083
Emitter.emit @ socket.io.js:6864
Transport.onPacket @ socket.io.js:5514
callback @ socket.io.js:5262
(anonymous) @ socket.io.js:6139
exports.decodePayloadAsBinary @ socket.io.js:6138
exports.decodePayload @ socket.io.js:5906
Polling.onData @ socket.io.js:5266
(anonymous) @ socket.io.js:4813
Emitter.emit @ socket.io.js:6864
Request.onData @ socket.io.js:4983
Request.onLoad @ socket.io.js:5064
xhr.onreadystatechange @ socket.io.js:4936
XMLHttpRequest.send (async)
Request.create @ socket.io.js:4948
Request @ socket.io.js:4853
XHR.request @ socket.io.js:4780
XHR.doPoll @ socket.io.js:4810
Polling.poll @ socket.io.js:5236
Polling.onData @ socket.io.js:5275
(anonymous) @ socket.io.js:4813
Emitter.emit @ socket.io.js:6864
Request.onData @ socket.io.js:4983
Request.onLoad @ socket.io.js:5064
xhr.onreadystatechange @ socket.io.js:4936
XMLHttpRequest.send (async)
Request.create @ socket.io.js:4948
Request @ socket.io.js:4853
XHR.request @ socket.io.js:4780
XHR.doPoll @ socket.io.js:4810
Polling.poll @ socket.io.js:5236
Polling.doOpen @ socket.io.js:5181
Transport.open @ socket.io.js:5449
Socket.open @ socket.io.js:4055
Socket @ socket.io.js:3934
Socket @ socket.io.js:3844
Manager.open.Manager.connect @ socket.io.js:3439
Manager @ socket.io.js:3295
Manager @ socket.io.js:3264
lookup @ socket.io.js:118
(anonymous) @ wetty.js:2
hterm_all.js:9248 Uncaught TypeError: Cannot read property 'scrollTop' of undefined
    at hterm.ScrollPort.getTopRowIndex (hterm_all.js:9248)
    at hterm.Terminal.syncCursorPosition_ (hterm_all.js:11868)
    at hterm_all.js:11956

#2

So that works ok for me, is this problem still occurring for you? If so let me know your browser version and OS and we can take a closer look.

I’m going to edit your post to remove your auth token from view.


#3

Yes it is still happening. Google Chrome Version 60.0.3112.101 (Official Build) (64-bit), Windows 10.


#4

Also, I just tried with Microsoft Edge and it worked. It doesn’t work in Google Chrome’s incognito mode so I don’t think it’s a plugin in my browser.


#5

I am having this exact same problem using Chrome and macOS Yosemite.

Any solution, or do I need to use a different browser?


#6

Does it work in an incognito window for you?


#7

well, that’s interesting.

it works in incognito mode. is that a feature or a bug?

also typing refresh at the command line doesn’t update my editor to show me the additional files i see in the console page.


#8

It suggests that’s it’s a plug-in causing your problem.

There are a few reasons why your files might still not show in the editor, even after refresh: https://glitch.com/faq#hidden-files


#9

You rock.

It was a plug-in: https://mybrowseraddon.com/dark-mode.html

I don’t have it turned on for incognito mode.

Is there a list of browser plug-in issues in the FAQs or elsewhere on the site?


#10

No, not at the moment - I will compile one!