brackets-terminal
brackets-terminal copied to clipboard
Doesn't open
Installed on Brackets 0.44.0-14876. Clicking the terminal button turns the icon green for a second and then back to grey, no window or error opens.
Uhm - I guess clicking again doesn't work right?
Yep I can mash the button all I like with no effect beyond the icon going green for a few milliseconds.
My default shell is zsh, could that be causing the problem or does the plugin use bash explicitly?
I just tried again with the Brackets Dev console open and found that each click of the button generates this error:
Uhm - it looks like you're having trouble in running tty.js - can you manage to have it working in a normal terminal? Btw, zsh
insn't the problem, I use it as well
I am facing the same problem, I can not use the terminal.
Exact same problem here. Failure to connect to 8080.
I don't really know how brackets/this extension works, but port 8080 is suspect to me. Loads of things use port 8080, it tends to be congested. (Although in this case I presume nothing is running on 8080, hence the failure?).
I don't know if this problem is still relevant 2.5 years later, but I managed to fix this problem by installing tty.js. It's on the README of this repo as @artoale said.
@biddster It seems that this extension works by creating a terminal server with tty.js and linking it to Brackets via socket.io, so you need to make sure you have those installed.
And then I had some problems installing tty.js, but they weren't too bad to fix.
@jlam55555 How do I install tty.js into brackets anyway?
By the way, I installed Brackets on Manjaro with Flatpak since Brackets has core dump on Manjaro (see this issue). Flatpak's architecture is different, so it might cause an error on permission maybe?
I will leave more readable logs below:
Failed to load resource: net::ERR_CONNECTION_REFUSED http://localhost:8080/socket.io/1/?t=1537218153584
socket-io.js:1659 GET net::ERR_CONNECTION_REFUSED http://localhost:8080/socket.io/1/?t=1537218726214
Socket.handshake @ socket-io.js:1659
Socket.connect @ socket-io.js:1699
startConnection @ terminal.js:150
init @ main.js:49
handleAction @ main.js:82
dispatch @ thirdparty.min.js:20
r.handle @ thirdparty.min.js:20
trigger @ thirdparty.min.js:20
(anonymous function) @ thirdparty.min.js:20
each @ thirdparty.min.js:19
each @ thirdparty.min.js:19
trigger @ thirdparty.min.js:20
(anonymous function) @ toolbarManager.js:35
dispatch @ thirdparty.min.js:20
r.handle @ thirdparty.min.js:20