1

我正在使用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 的错误?

4

0 回答 0