Forums

Can't startapp using Create-React-App

Hi, I am a novice programmer. I wrote the backend of my app using Python- Django and for frontend I installed the Create-React-App by changing the defaulting npm-global directory because it wasn't allowing me to install Create-React-App.

My attempt to startapp was failing and threw "Command not found" error, and on searching solutions online, the possible reasons were that the path wasn't usr/lib/bin while installing. I tried changing the path but it didn't resolve.

It would be great if someone would help me understand what I am doing wrong.
I have posted my file structure below.

├── README.txt

├── helloworld.py

├── nvm

│ ├── CONTRIBUTING.md

│ ├── Dockerfile

│ ├── LICENSE.md

│ ├── Makefile

│ ├── README.md

│ ├── ROADMAP.md

│ ├── alias

│ ├── bash_completion

│ ├── install.sh

│ ├── nvm-exec

│ ├── nvm.sh

│ ├── package.json

│ ├── test

│ └── update_test_mocks.sh

└── recostar

└── backend

Thanks

If you want to use Node stuff, I'd strongly recommend using the first suggestion on that help page -- using NVM means that you can choose the exact version of Node that is installed for your account, and it generally works better without having to mess around with paths.

Thank you for your solution. I figured out what was going wrong. It wasn't clear the instructions to download and install nvm. Earlier I thought I had installed it correctly but it didn't accurately install the version which was required.