Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Cannot run iOS. You cannot run cocoapods as root

$
0
0

Why am I using root? because the run script reuqires ng command first which says premission denied, so I said sudo. then cocoapods give me this error. Or so I think. Here is the more speicfic error:

An unhandled exception occurred: EACCES: permission denied, unlink '/Users/darren/.Trash/IonicTest/IonicTest/www/common.js'
See "/private/var/folders/bt/nv94cvpx26xfz74hhp808xy80000gn/T/ng-TOKRcl/angular-errors.log" for further details.
[ERROR] An error occurred while running subprocess ng.

but when running with sudo the above error goes away only to get the cocopod error

using capacitor. android runs looks fine, tho i also had to use root.

8 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>