You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you install any other global Node commands, e.g. npm i -g gulp and then run gulp?
If not, it's likely an issue with the relevant directory not being in your shell's PATH.
Closing as this is a problem with your npm setup, and unfortunately there's nothing we can do to help you with it. When you fix it, Create React App will also work.
I have done
npm install -g create-react-app
. I get the following output/Users/tomjoshi/.npm-packages/bin/create-react-app -> /Users/tomjoshi/.npm-packages/lib/node_modules/create-react-app/index.js
create-react-app@0.6.0 /Users/tomjoshi/.npm-packages/lib/node_modules/create-react-app
├── semver@5.3.0
├── minimist@1.2.0
├── path-exists@2.1.0 (pinkie-promise@2.0.1)
├── chalk@1.1.3 (ansi-styles@2.2.1, supports-color@2.0.0, escape-string-regexp@1.0.5, strip-ansi@3.0.1, has-ansi@2.0.0)
└── cross-spawn@4.0.2 (lru-cache@4.0.1, which@1.2.11)
Then I run
create-react-app hello-world
but I get create-react-app: command not found. How do I fix this? I have the latest version of node and npm.The text was updated successfully, but these errors were encountered: