Skip to content

Create-react-app: command not found #962

Closed
@thomasjoshi

Description

@thomasjoshi

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
[email protected] /Users/tomjoshi/.npm-packages/lib/node_modules/create-react-app
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions