I have an ionic 2 project I created on a windows machine and have built and released successfully for android. I’ve copied the entire folder/files over to a Mac and am attempting to build now for ios. But when I enter “ionic build ios” into the CLI it is throwing this error:
sh: /Users/blt/MyApp/node_modules/.bin/ionic-app-scripts: Permission denied
argv “usr/local/bin/node” “/usr/local/bin/npm” “run” “ionic:build” "–"
ionic-hello-world@ ionic:build: 'ionic-app-scripts build’
Exit status 126
Failed at the ionic-hello-world@ ionic:build script 'ionic-app-scripts build’
Make sure you have the latest version of node.js and npm installed.
If you do, this is most likely a problem with the ionic-hello-world package,
not with npm itself.
Tell the author that this fails on your system:
You can get information on how to open an issue for this project with:
npm bugs ionic-hello-world
Or if that isn’t available, you can get their info via:
npm owner ls ionic-hello-world
There is likely additional logging output above.