Terminal panel closes immediately
已回答
When trying to open the terminal pane in Intellij it opens briefly and immediately closes. Restart of Intellij doesn't help.
Versions:
IntelliJ IDEA 2021.3.2 (Ultimate Edition)
Build #IU-213.6777.52, built on January 28, 2022
请先登录再写评论。
Usually it happens when shell path is configured incorrectly. Could you provide a screenshot from "Settings/Preferences | Tools | Terminal"?
Ok this is a bit strange. I noticed that trying to start a new tab in my terminal app also didn't work... Oddly, previously running shells were fine. Also the `/bin/zsh` shell existed... A reboot of the whole macbook worked, but I have no idea why this happened. Thanks for your answer, and sorry for the confusion. I've added the screenshot below for posterity's sake.
Please provide the IDE logs for the investigation. (Help | Collect Logs and Diagnostic Data)
The files can be uploaded at https://uploads.jetbrains.com (do not forget to specify the UploadID here)
I had the same issue, and for me it was because my default terminal was Windows Subsystem for Linux. So when WSL is stopped or crashed the PHPStorm terminal tab was doing this. So restarting WSL solved it for me.
It's understandable but it still could be handled better by PHPStorm I think. The tab could open and just give me an error message to point me in the right direction. Also I have other types of terminals, not just the default, like Git Bash, etc. that could still work just fine even if WSL is not available.
Has the problem been solved? I have got the same issue
+1 Linux Mint
I am also having this issue in
GoLand 2025.1
Build #GO-251.23774.430, built on April 14, 2025
I've uploaded collected logs and diagnostics 2025_04_23_YdboejfFnHxRtxiMpQUaYL
Hi Erik Straub ,
We reviewed the logs but could not determine the root cause of the problem with the current information. Could you please share a screenshot of the File | Settings | Tools | Terminal dialog and the content of
~/.zshrcand/or~/.bashrcfiles (configuration files for the selected shell), you can share content here or upload files through https://uploads.jetbrains.com/ and sharing the uploadID. This will help us to have a broad view of the problem.Also, please try the next options to check if the issue gets resolved:
Please let us know the results of the above steps.
Hi, Monica I ended up opening a support ticket (Request #7513179) and was able to find a workaround by disabling Shell integration
Hi Erik Straub is good to know that workaround helps, the fix will be provided in version 2025.1.1 scheduled for May 6.