Jump to content

jamofbob

Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by jamofbob

  1. Many thanks for helping, life saver with the correct setting of PATH!
  2. I have managed to solve the issue by setting PATH variable. Found the Alfred Workflow Debug tool, very useful!! cd /Users/jameshusband/development PATH=/usr/local/bin npx create-react-app application
  3. Sorry I failed to mention in OP that i have already tried pointing directly to the binary, Run Script looks like this: cd /Users/theuser/development /usr/local/bin/npx create-react-app my-app
  4. 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
×
×
  • Create New...