While adding platform in sample application on ubutnu get non understandable error

$ionic start myapps tabs
$cd myapps
$ionic platform android
then give error
Error: Failed to fetch platform android
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: EPERM: operation not permitted, chmod '/home/daffodil-30/.cordova/lib/npm_cache/cordova-android/5.1.1/package/.npmignore’
Please provide me help
this error comes on ubuntu 14.04 LTS OS

i got the solution for this for now .but i know the actually solution
need to run sudo ionic platform android

and give ur password …its requires administrator permisson to run