Unable to add plugins with Cordova 3.3.0 CLI on Windows - '"git" command line tool is not installed: ..."

Viewed 15572

I am having trouble adding a plugin to Cordova 3.3.0 on Windows. I have node.js installed. I have been able to create a project. I have git installed and the git bin directory is on my PATH. I am able to run git on the windows command line. But when I try to install a plugin I get this error:

Error: Fetching plugin failed: Error: "git" command line tool is not installed: make sure it is accessible on your PATH.

This sequence of commands works up until I try and add the plugin:

  • cordova create myProject
  • cd myProject
  • cordova platform add android
  • cordova plugin ls

Then I try to add the plugin with the following and it fails:

I have spent a whole day trying to figure this out. Any ideas?

5 Answers
Related