I installed the create-response-app in the same way as indicated on the facebook instructions page ( https://facebook.imtqy.com/react/blog/2016/07/22/create-apps-with-no-configuration. html ):
First install the global package:
npm install -g create-react-app
I have done it. It worked fine - the file was installed on
users/*name*/.node_modules_global/lib/node_modules/create-react-app
I'm not sure why the global installation takes it this way, but there you have it.
The following instruction:
Now you can use it to create a new application:
create-react-app hello-world
It couldn't be easier, right? But Terminal spits it out of me:
-bash: create-react-app: command not found
Maybe something is very simple, but I donβt know where to look. If anyone can help, I would really appreciate it!
Thanks in advance.
Note. I am using Node v6.3.1 and npm v3.10.3
source share