Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Terminal stopped working following update to Atom 1.12.2 #105

Closed
nschappl opened this issue Nov 14, 2016 · 16 comments
Closed

Terminal stopped working following update to Atom 1.12.2 #105

nschappl opened this issue Nov 14, 2016 · 16 comments

Comments

@nschappl
Copy link

I can create a new terminal, but I cannot type any shell input or see any shell output. Everything was working well prior to the latest Atom update (1.12.2). I'm on MacOS Sierra 10.12.1.

@edcolcode
Copy link

The same issue for me :(. I'm using Win10 x64.

@Fred-Barclay
Copy link

@nschappl Have you updated to the latest platformio-ide-terminal (version 2.2.2)?

@nschappl
Copy link
Author

@Fred-Barclay Yes, I am currently running platformio-ide-terminal v2.2.2. I've even tried uninstalling and re-installing the package. Today, Atom released another update (v1.12.3). I updated Atom as well, but the problem still persists. I can see the terminal and have a flashing cursor, but the terminal will not take any input.
screen shot 2016-11-15 at 2 32 10 pm

@nschappl
Copy link
Author

Here is the error that is thrown as soon as I hit the "+" button to open a new terminal:

screen shot 2016-11-15 at 2 39 00 pm

@ivankravets
Copy link
Member

@nschappl what is your defult shell?

@nschappl
Copy link
Author

Bash

@arorashivani
Copy link

I was also facing the same issue, not able to write input or see any output.
Tried uninstalling then installing and like 90 % of computer problems it worked now everything is back to normal :)

@nschappl
Copy link
Author

Unfortunately, that did not work for me. I tried uninstalling and re-installing the package. I also restarted Atom itself.

@welf
Copy link

welf commented Nov 18, 2016

I have the same problem.

terminal-plus has stopped working as well.

@ghost
Copy link

ghost commented Nov 27, 2016

I am having this problem (Mac OS X El Capitan, Atom 1.12.5) but I just discovered that if I run Atom from the command line, platform-ide-terminal works fine. However, it gives the black screen and blinking cursor when I run Atom from the Finder. This smells like an environment variable issue or something. This behavior persisted across a reboot.

@nschappl
Copy link
Author

I notice the same behavior as @fremder99. If I run Atom from the command line, platform-ide-terminal works as expected. If I run atom any other way, I get a black screen with a blinking cursor that doesn't take input or display output.

@welf
Copy link

welf commented Nov 28, 2016

I have solved this problem by upgrading node to the version 6.9.1.

@ghost
Copy link

ghost commented Nov 29, 2016

Interesting, because I have node installed from a "pkg" installer that puts it in the/usr/local tree. So, at the command line:

% node -v
v6.9.1

But Atom for Mac is downloaded and copied into /Applications. It contains its own version of node (as near as I can tell). Again, from the command line:

% atom -v
Atom    : 1.12.6
Electron: 1.3.9
Chrome  : 52.0.2743.82
Node    : 6.5.0

So I have the latest release of Atom, but it uses an old version of nodeinternally.

I think when I double-click the Atom app, it uses its internal version of node. When I run atom at the command line, the path environment overrides the Atom-internal, and Atom finds the newer version of node, and thus, the platformio-ide-terminal works.

I guess the question is, is there a way to update the Atom-internal version of node?

I'm kinda thinking the developers haven't done so for a reason (things break?), so I (Mac users?) may be confined to using the command line for a while. I've seen some discussions of how to wrap a Mac app in a tiny bash script to gain the environment variables, but seems a bit much...

@nschappl
Copy link
Author

Yeah I'm still witnessing the same behavior as @fremder99.

@JEDacreWright
Copy link

Do we have any new input ? I too have the same issue since this update.

@JEDacreWright
Copy link

Having the same behaviour as @fremder99, I tried to open atom with command-line and it did use the correct node version. Thanks for that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants