I have a web-app that I build via Grunt. Now, I want to bundle that app as part of my build process using PhoneGap/Cordova. In an attempt to do that, I've included the grunt-cordovacli module and have a target called 'deploy'. Deploy is setup like this:
When I run deploy, everything works up until the cordova stuff. At that point, I get the following:
Running "cordovacli:add_platforms" (cordovacli) task
Using cordova CLI version (3.5.0-0.2.6)
Setting Current Working Directory (CWD) to distribute
Running:node C:\Projects\myapp\node_modules\grunt-cordovacli\node_modules\cordova\bin\cordova platform add ios
Running:node C:\Projects\myapp\node_modules\grunt-cordovacli\node_modules\cordova\bin\cordova platform add android
Running:node C:\Projects\myapp\node_modules\grunt-cordovacli\node_modules\cordova\bin\cordova platform add wp8
Current working directory is not a Cordova-based project.
>> Error
Error-> with Parallel tasksError
This bug is being experienced on a Windows 8 machine.
I have a web-app that I build via Grunt. Now, I want to bundle that app as part of my build process using PhoneGap/Cordova. In an attempt to do that, I've included the grunt-cordovacli module and have a target called 'deploy'. Deploy is setup like this:
I've confirmed build works by loading the content in my browser. My cordovacli task is configured as follows:
When I run deploy, everything works up until the cordova stuff. At that point, I get the following:
This bug is being experienced on a Windows 8 machine.