Error: EACCES while installing Bootstrap through bower

Hello guys! I am setting a Ionic app. I was trying to install bootstrap through bower but i get this error:

Error: EACCES, unlink ‘/Applications/MAMP///www/lib/ionic’ at Error (native)

What am i doing wrong?


It seems you doesn’t have the access permission of the directory because of the EACCES code, did you try using sudo command previously? e.g. sudo ionic add [bower_component]

Thanks for reply!
I have to add bootstrap to my app. At this point maybe i am not using the right command line.
I was using : bower install bootstrap
I try now to use: sudo ionic add bootstrap
but it gives me this error:

Failed to find the bower component “bootstrap”.
Are you sure it exists? (CLI v1.3.16)