提问人:Jamie Hutber 提问时间:11/16/2023 最后编辑:LazyOneJamie Hutber 更新时间:11/16/2023 访问量:14
编辑器进程退出,出现错误:spawn webstorm ENOENT
The editor process exited with an error: spawn webstorm ENOENT
问:
我试图告诉我的终端如何打开 WebStorm,但实际上重要的是,告诉我的开发环境它所在的位置,这样我就可以单击 Web 浏览器中的错误输出并直接将我带到发生错误的正确 file:line。
我可以用我的别名打开 WebStorm,只是指向路径不起作用:webstorm
PATH=$PATH:$HOME:/home/hutber/WebStorm/bin
alias webstorm=/home/hutber/WebStorm/bin/webstorm.sh
即使我可以键入并打开 WebStorm,我仍然在 CLI 中出现以下错误:webstorm
Could not open [...param].jsx in the editor.
The editor process exited with an error: spawn webstorm ENOENT.
To set up the editor integration, add something like REACT_EDITOR=atom to the .env.local file in your project folder and restart the development server.
答: 暂无答案
评论
webstorm
$PATH
/usr/local/bin
sudo ln -s /home/hutber/WebStorm/bin/webstorm.sh /usr/local/bin/webstorm