tuckerjt07
tuckerjt07

Reputation: 922

Unable to execute cordova

I was able to install cordova originally but I am now unable to use it. I have uninstalled using npm uninstall -g cordova, and this seems to be working as expected. When I attempt to reinstall it using the command npm install -g cordova, the installation seems to run, but when attempting to run cordova commands I get the cordova is not a recognized internal or external batch command message. This is on a Windows 7 Pro x64 machine. What could be the possible causes and fixes for this?

Upvotes: 0

Views: 75

Answers (2)

Brunno Gonçalves
Brunno Gonçalves

Reputation: 36

Do you already had the apacha ant ready? If not, try to download that from apache.org and put the patch folder where you extract this to your path variable.

Upvotes: 1

Brunno Gonçalves
Brunno Gonçalves

Reputation: 36

You should add the cordova installation path folder to you path environment variables

Upvotes: 1

Related Questions