Unable to add plugins. Perhaps your version of Cordova is too old


Are you sure in the directory that you created? Try following the video form our learn site.



Thanks that worked but still issue with cordova.
My version is 3.4.0-0.1.0

Any idea why cordova not playing nice?

Thanks for your help. Can’t wait to get started building!


You can always run $ sudo npm install -g cordova to get the latest version (3.4.1).


I have 3.5.0-0.2.4 cordova but still seeing error plugins will not load? Thinks my version is old.


My only other advise would be to create a new project then move your code over. I’m not too sure what the issue could be.


Just to add to this, had a similar problem on a Windows 8.1 box running latest version of npm and cordova. My problem was related to the Ionic Keyboard plugin trying to download to a directory that does not exist… rather than anything to do with cordova being out of date. As soon as I added that directory tree in my AppData directory it worked fine.

Just in case it helps someone. Regards, Graham

Output from console:

DOWNLOADING: https://github.com/driftyco/ionic-app-base/archive/master.zip

DOWNLOADING: https://github.com/driftyco/ionic-starter-blank/archive/master.zip
Initializing cordova project.
Fetching plugin “org.apache.cordova.device” via plugin registry
Fetching plugin “org.apache.cordova.console” via plugin registry
Fetching plugin “https://github.com/driftyco/ionic-plugins-keyboard” via git clone
Error: Command failed: fatal: could not create work tree dir ‘C:\Users\fowlergz.ADF\AppData\Local\Temp\plugman\git\1400749889006’.: No such file or directory

at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:465:12)

ERROR: Unable to add plugins. Perhaps your version of Cordova is too old. Try updating (npm install -g cordova), removing this project folder, and trying again.


“Just in case it helps someone.”

It did. Thanks.


Exact same issue and the same solution worked. Thanks. Hope this will be fixed soon.


I got this error. Is there something wrong with my JAVA_HOME path? Java should be installed correctly…

Error: Failed to run ‘java -version’, make sure your java environment is set up
including JDK and JRE.
Your JAVA_HOME variable is C:\Program Files (x86)\Java\jdk1.7.0_55\bin
Error: Command failed: ‘java’ is not recognized as an internal or external comma

operable program or batch file.

at C:\Users\sebastiaan\.cordova\lib\android\cordova\3.5.0\bin\lib\check_reqs

at ChildProcess.exithandler (child_process.js:641:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket. (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
Error: C:\Users\sebastiaan.cordova\lib\android\cordova\3.5.0\bin\create.bat: Co
mmand failed with exit code 8
at ChildProcess.whenDone (C:\Users\sebastiaan\AppData\Roaming\npm\node_modul
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
Unable to add platform android. Please see console for more info.


Can someone share the exact path.

I added to appData the following and still no success.



Working on windows 8.1 as well.
Had same issue.
Same error message, only difference was the number at the end of the folder path, very similar though.

Created folder that was missing, re-ran command, and problem was fixed.



Problem seems to be very machine depend (and/or intermittent) as I have exactly the same set up on another PC and do not encounter this issue. I recall that I only created the /plugman directory, and then it worked fine.



Thanks Graham.
Can you recall the entire path.
Ex. AppData/plugman

Is this how you set your directory?




The full path is in my original post above.

Regards, Graham


I had the same issue on Mac OS X 10.9 with the latest cordova, et al. The solution was for me to remove the proxy setting for git, as I fortunately didn’t need it.

git config --global --unset http.proxy

To determine if you have a proxy setting for git:

git config --global --list


I had the same issue on windows 8.
can anyone tell me how to slove this issue.



Hey there,

I’ve just fixed the issue on Windows 7 x64 and I’m glad to share my solution.

The issue:

Error: Command failed: fatal: could not create work tree dir 'C:\Users\532B~1\AppData\Local\Temp\plugman\git\1403892003394'.: No such file or directory

Where 532B~1 is some sort of representation of non-latin username of my current user.
The folder AppData is hidden by default.

The solution:

All you need to do is to create plugman and git folders manually and make sure they are not read-only.

Hope it will help.



Same issue with last version of Cordova, JDK, Apache ANT. Android SDK

How to work without git and plugman ?


Do you have any other advice? I have tried all of the solutions here on this site, and have installed the most recent version of Cordova at lest 5 times , so there is no way that it can possibly be out of date, and I am still receiving the error message below whenever i execute the ionic start myApp command in my Windows Command Prompt.

Unable to add plugins. Perhaps your version of Cordova is too old. Try updating <npm install -g cordova>, removing this project floder, and trying again.

I have followed this installation video several times all the way through, and still no luck.


As a result I am unable to add platforms and get started building apps using ionic.
Do you have an alternate recommendation for a Development environment that I can use in order to start using Ionic???
I am running windows 7 on a laptop. Not sure if that’s important but i thought i would mention it anyways.


Have you updated the projects?

$ cordova platform update android