WebStorm Default path for new project settings
In the create react app "path to create-react-app package directory", how do you set it to a default directory so that it only needs to be set once. End result being creating a new project does not require this input to be done every time.
Please sign in to leave a comment.
Normally the package location is resolved automatically from your $PATH... Where do you have the `create-react-app` package installed?
The create-react-app folder is located in /usr/local/lib/node_modules/
I think this issue might resolve another one as well with creating a Nodejs express app “please specify non or yarn package”
Looks as if the IDE can't locate NPM package manager on your system and thus can't get npm prefix to figure out global modules location... Where is npm/yarn installed? Can you recreate the issue and provide your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)? Please don't paste it here, upload it to some file server and provide a link
I was able to fix it.
I had to run:
npm install npm@latest -gSeems apt update and apt upgrade were not updating npm.
Thank you anyway. Hope this helps someone else.