Can't create WebStorm React project
You need to install create-react-app
npm module, before you use this feature.
npm install -g create-react-app
You can read more about this feature on the official release blog of WebStorm.
Excerpt from the documentation :
Make sure that you have create-react-app installed globally on your computer, for that run npm install -g create-react-app. Then to start your new project, double click on the start task in the npm tasks tool window to run it. That’s it!
I created webStrom react app following this steps.
- Download node.js
- Open command line console and type "npm install -g create-react-app"
- Create react app project from web-storm.
- Make sure you provided the correct file path of create-react-app , by default it is installed in ~\AppData\Roaming\npm\node_modules\create-react-app
use npm start: to start development server