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

时间:2018-08-30 12:52:49

标签: javascript reactjs phpstorm webstorm react-create-app

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

我已将.env.local文件设置为suggested

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的错误?

0 个答案:

没有答案