-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unable to open file or directory from terminal #11
Comments
Hmmm... I see that too in Linux. I'll investigate it - thanks! For reference, this is the Linux output:
|
@jwogrady Can you see if the same behavior occurs with platformio-ide-terminal? That will help narrow down the search a lot. It's something to do with node being called instead of atom from inside Cheers! |
I'm getting the same error as @jwogrady. What's interesting is that I had a Java update right before I had this problem. Could the two be related? Here is the java version i'm at now.
|
@Fred-Barclay platformio-ide-terminal didn't seem to make a difference. @chrisallenmoore what Java version are you using? Mine is as follows: ~ $ java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode) ~ $ atom --version
Atom : 1.12.3
Electron: 1.3.6
Chrome : 52.0.2743.82
Node : 6.3.0 |
@chrisallenmoore What OS are you using? I haven't figured out the why yet, but for some reason termination (and platformio-ide-terminal, and possibly terminal-plus) replaces |
macOS Sierra |
chrisallenmoore: thanks. 👍 What shell do you use? |
Update: there's a similar issue platformio/platformio-atom-ide-terminal#106 so I'll keep an eye on that as well. @jwogrady What happens when you open the developer console ( |
I use the standard Mac Terminal. Atom will open from there, but not in Termination. |
What happens if you run |
@Fred-Barclay that works. hmmm |
Temporary workaround: go to the settings for termination and set |
Sweet, thanks for the workaround! Just to follow up, the atom debug/console running on Mac didn't give me any output to share. This ancient article related to PHPStorm suggests a java versioning issue. Your workaround shows a little output on mac every time I open a new instance of the terminal, but it works great. unset ELECTRON_RUN_AS_NODE
project $ unset ELECTRON_RUN_AS_NODE
project $ I left the issue open in case you are still working on a final fix. From my standpoint though the issue is closed. Thanks again for all your work on this! |
Thanks mate! I'm still working on a permanent fix but at least I now know this workaround is good for both Linux and Mac. 👍 So I'm working on how to undo that without breaking Atom in any way. |
I've opened an issue on the Atom repo. |
Great! I was a little hesitant to do that myself since I didn't know if this was a bug in my code or an issue with Atom, hence my post on the Atom forums asking for help. Thanks for taking the initiative and opening the issue on the Atom repo! 😄 |
I have been having the same issues and I think I may have solved it. See my post in #33 . It looks like ATOM_SHELL_INTERNAL_RUN_AS_NODE was renamed to ELECTRON_RUN_AS_NODE (atom/atom#11475) In the terminal ide |
@Naki21 Thanks! I've pushed out a new release with @chrisallenmoore @jwogrady Please update to release 0.5.0 and let me know if this fixes the problem. |
Thanks for all your work on this....
I'm unable to open a file or folder from a termination shell.
Everything works as expected if I run the commands outside of Atom in a standalone shell.
Using
The text was updated successfully, but these errors were encountered: