Monday, 3 April 2017

Running "run:cordovarun" (run) task >> Error: spawn cordova ENOENT Warning: Task "run:cordovarun" failed. Use --force to continue

I am getting below error while running grunt runcordova command and I am new to this framework and have no idea why I am getting this.angularjs HTML and Sass and ionic 1 are used in this project.

D:\SOURCE CODE\DEVELOPMENT>grunt runcordova (node:5300) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead. Running "clean:cordova" (clean) task Cleaning "target/cordova/www/assets"...OK Cleaning "target/cordova/www/index.html"...OK Cleaning "target/cordova/www/src"...OK Cleaning "target/cordova/www/templates-app.js"...OK Cleaning "target/cordova/www/templates-common.js"...OK Cleaning "target/cordova/www/vendor"...OK

Running "cordovaconfig" task Updating cordova config.xml

Running "copy:cordovadev" (copy) task Created 232 directories, copied 348 files

Running "copy:cordovadev" (copy) task Created 232 directories, copied 348 files

Running "removelogging:false" (removelogging) task

Running "run:cordovarun" (run) task

Error: spawn cordova ENOENT Warning: Task "run:cordovarun" failed. Use --force to continue.

Aborted due to warnings.

My NodeJs version is 6.10.1. grunt-cli v1.2.0, grunt v0.4.5. I have installed cordova version 6.5.0.

Please help.

Thanks



via Ravi

No comments:

Post a Comment