I am trying to create a bash script that runs npx create-react-app my-app
.
My Current Script:
cd /Users/theuser/Development
/usr/local/bin/npx create-react-app my-app
I have tried simply calling npx command and also pointing directly to binary but when the script is executed (from an Alfred Workflow) I do not see a React App created.
If I run the /usr/local/bin/npx create-react-app my-app
from terminal then I do see the React App Created.