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