Jump to content

[SOLVED] Running "npx create-react-app' in Run Script


Recommended Posts

 I am trying to write an Alfred Workflow that creates a new react app. All the commands below are working fine EXCEPT for "npx create-react-app", anyone got this to work before?

 

Many thanks...

cd /Users/jameshusband/Development

mkdir {query}

cd {query}

npx create-react-app my-app

touch index.html

 

Link to comment
  • vitor changed the title to [SOLVED] Running "npx create-react-app' in Run Script

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...