Jenkin phone call error

I have been looking for a solution for the below problem now more than 3 days. I found this to happen when I add the inappbrowser plugin without compiling it. Phonegap Version 3.3.0-0.19.6

However, it works on my local machine.

/Users/Shared/Jenkins/Home/workspace/Project Dev Build/node_modules/phonegap/node_modules/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
TypeError: Cannot read property 'install' of undefined
    at /Users/Shared/Jenkins/Home/workspace/Project Dev Build/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:361:71
    at Array.forEach (native)
    at handleInstall (/Users/Shared/Jenkins/Home/workspace/Project Dev Build/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:360:40)
    at /Users/Shared/Jenkins/Home/workspace/Project Dev Build/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:331:20
    at _fulfilled (/Users/Shared/Jenkins/Home/workspace/Project Dev Build/node_modules/phonegap/node_modules/cordova/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/Shared/Jenkins/Home/workspace/Project Dev Build/node_modules/phonegap/node_modules/cordova/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/Shared/Jenkins/Home/workspace/Project Dev Build/node_modules/phonegap/node_modules/cordova/node_modules/q/q.js:760:13)
    at /Users/Shared/Jenkins/Home/workspace/Project Dev Build/node_modules/phonegap/node_modules/cordova/node_modules/q/q.js:574:44
    at flush (/Users/Shared/Jenkins/Home/workspace/Project Dev Build/node_modules/phonegap/node_modules/cordova/node_modules/q/q.js:108:17)
    at process._tickCallback (node.js:415:13)
Build step 'Execute shell' marked build as failure
+3
source share
1 answer

Had the same problem, and on the tip in https://issues.apache.org/jira/browse/CB-6008 I updated the cord npm update -g cordovato the latest version and then worked.

EDIT: I see that you used Phonegap, which is still at 3.3. When they release the new version, I am sure that they npm update -g phonegapwill do the same.

+1
source

All Articles