I installed the tools
npm install -g @angular/cli
npm install -g ionic
npm install -g email@example.com
Changed directory to the downloaded project folder (see attachment 1)
% npm install
created node_modules folder and had no error.
% ionic cordova platform add ios@latest
This displayed “error : EACCES: …” (see attachment 2)
Then I tried
% sudo ionic cordova platform add ios@latest
(platform/ios/…), (plugins/…), (www/…) folders files were created, but had an Error at the end.
Also, the same error comes when i build the app,
% sudo ionic cordova build ios –prod
( error occurred while running subprocess cordova)