发生错误时React-create-app无法打开IDE

问题描述 投票:0回答:0

我正在使用react-create-app并且一切正常。 但是,我希望发生错误时,它会自动打开相关文件。

我已经按照建议设置了.env.local文件。

BROWSER=none
REACT_EDITOR=phpstorm

错误

Note that the development build is not optimized.
To create a production build, use npm run build.


Could not open persistStore.js in the editor.
The editor process exited with an error: spawn phpstorm 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. 

也许这是PhpStorm而不是RCA的错误?

javascript reactjs phpstorm webstorm react-create-app
© www.soinside.com 2019 - 2024. All rights reserved.