Failed to find the bower component "platform". Are you sure it exists? (CLI v1.3.1)


#1

Installed on Ubuntu ,dont know if i have installed right


#2

Little information so just a guess:
try using
ionic platform add …
instead of ionic add platform


#3

Some extra information would help.
What command were you trying to run.

Sounds like you want to add a platform?

ionic platform add android

#4

I have the same problem, typing “ionic add ios” results in:

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

Your system information:

Cordova CLI: 5.2.0
Gulp version: CLI version 3.9.0
Gulp local:
Ionic Version: 1.1.0
Ionic CLI Version: 1.6.4
Ionic App Lib Version: 0.3.8
ios-deploy version: 1.7.0
ios-sim version: 4.1.1
OS: Mac OS X Yosemite
Node Version: v0.12.7
Xcode version: Xcode 6.4 Build version 6E35b

I don’t know if the empty Gulp local line is a problem…
Instead I tried the alternative command: “bower install --save-dev ios”

Now I’m running into this:

node.js:720
var cwd = process.cwd();
^
Error: ENOENT, no such file or directory
at Error (native)
at Function.startup.resolveArgv0 (node.js:720:23)
at startup (node.js:63:13)
at node.js:814:3