Webstorm freezes on close when node process is running
Steps to reproduce:
- Open WebStorm react project
- Start app with npm run start (Run window opens)
- Try to close WebStorm app
Expected result:
- WebStorm should kill the terminal in Run window automatically and close itself
Result:
- Whole app freezes
- Run window displays propmt to terminate process, which you cannot answer
- You have to kill WebStorm with Task Manager
Installed versions:
- WebStorm: 2022.1
- NodeJs: 14.15.4
Is there some setting affecting this behavior? I did not find any.
Thank you.
请先登录再写评论。
https://youtrack.jetbrains.com/issue/WEB-55423 is fixed in the first minor update for v2022.1, WebStorm 2022.1.1. In the meantime, I you can try the following workaround: select a path to the npm installation folder (
C:\Program Files\nodejs\node_modules\npm, for example) instead of a path tonpm.cmdin the Package manager field in Settings | Languages & Frameworks | Node.jsThak you for quick reply.
Good news, it's already fixed and also workaround worked - I chose this:
EDIT: Unfortunatelly it worked once. Next time it froze again :-\