Webstorm Terminal does not work

When I open terminal, it properly displays the current working directory. When I attempt to cd, ls, npm, or anything of the sort, I get "command not found."
Also, when I create a new React project using File > New > Project > React, the terminal automatically starts the create react scripts. At first, the script appears to run fine, but it always ends with "npm install --save --save-exact --loglevel error react react-dom react-scripts@0.9.x has failed."

Im using Linux, POP os 21.04. The terminal is at /bin/bash.

There was a time when these things worked, but I don't remember what changed. It may have been when I upgraded from POP 20.10 to 21.04, but not sure.
I feel like there is something simple I am missing.
Thank you in advance. 

1 comment

How did you install the IDE? Did you use flatpak for this? It works as a sandbox environment - each pack has its own runtime environment and because of security reasons, flatpak apps do not have direct access to host files. There could be a lot of problems due to this.
Please try reinstalling the IDE using one of the recommended options https://www.jetbrains.com/help/webstorm/installation-guide.html and let me know if the problem remains.


Please sign in to leave a comment.