brackets-terminal icon indicating copy to clipboard operation
brackets-terminal copied to clipboard

Doesn't open

Open wyqydsyq opened this issue 10 years ago • 8 comments

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.

wyqydsyq avatar Oct 21 '14 23:10 wyqydsyq

Uhm - I guess clicking again doesn't work right?

artoale avatar Oct 22 '14 00:10 artoale

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?

wyqydsyq avatar Oct 23 '14 03:10 wyqydsyq

I just tried again with the Brackets Dev console open and found that each click of the button generates this error:

Error message

wyqydsyq avatar Oct 23 '14 03:10 wyqydsyq

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

artoale avatar Oct 23 '14 13:10 artoale

I am facing the same problem, I can not use the terminal.

ribeiroevandro avatar Jul 03 '15 02:07 ribeiroevandro

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?).

biddster avatar Aug 10 '15 12:08 biddster

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 avatar Jan 04 '18 19:01 jlam55555

@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

erayerdin avatar Sep 17 '18 21:09 erayerdin