You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/02/27 19:49:25 UTC
[jira] [Commented] (CB-6123) ActionStack.process calls
module.exports.resource-file.uninstall with missing argument
[ https://issues.apache.org/jira/browse/CB-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914865#comment-13914865 ]
Andrew Grieve commented on CB-6123:
-----------------------------------
Nice catch Josh. I've added:
{code}
cordova plugin remove org.cordova.mobile-spec-dependencies
{code}
to the list of things to test when doing a release.
I'll make sure to get the fix for this into the active release (which I assume you're looking into).
> ActionStack.process calls module.exports.resource-file.uninstall with missing argument
> --------------------------------------------------------------------------------------
>
> Key: CB-6123
> URL: https://issues.apache.org/jira/browse/CB-6123
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugman
> Affects Versions: 3.4.0
> Reporter: Josh Soref
>
> mobilespec $ cordova plugin remove org.cordova.mobile-spec-dependencies
> Uninstalling org.cordova.mobile-spec-dependencies from android
> Uninstalling org.cordova.mobile-spec-dependencies from blackberry10
> Uninstalling 20 dangling dependent plugins.
> Uninstalling org.apache.cordova.battery-status from ios
> Uninstalling org.apache.cordova.camera from ios
> Uninstalling org.apache.cordova.console from ios
> Uninstalling org.apache.cordova.contacts from ios
> Uninstalling org.apache.cordova.device from ios
> Uninstalling org.apache.cordova.device-motion from ios
> Uninstalling org.apache.cordova.device-orientation from ios
> Uninstalling org.apache.cordova.dialogs from ios
> Error during processing of action! Attempting to revert...
> Uninstalling org.apache.cordova.file from ios
> Uninstalling org.apache.cordova.media-capture from ios
> Error during processing of action! Attempting to revert...
> Error during reversion of action! We probably really messed up your project now, sorry! D:
> Uninstalling org.apache.cordova.file-transfer from ios
> Uninstalling org.apache.cordova.geolocation from ios
> Uninstalling org.apache.cordova.globalization from ios
> Uninstalling org.apache.cordova.inappbrowser from ios
> Uninstalling org.apache.cordova.media from ios
> Uninstalling org.apache.cordova.network-information from ios
> Uninstalling org.apache.cordova.splashscreen from ios
> Uninstalling org.apache.cordova.vibration from ios
> Uninstalling org.apache.cordova.test.whitelist from ios
> Uninstalling org.apache.cordova.test.echo from ios
> TypeError: Uh oh!
> Cannot read property 'resources_dir' of undefined
> at module.exports.resource-file.uninstall (plugman/src/platforms/ios.js:116:48)
> at Object.ActionStack.process (plugman/src/util/action-stack.js:46:25)
> at handleUninstall (plugman/src/uninstall.js:186:20)
> at plugman/src/uninstall.js:135:16
> at _fulfilled (q/q.js:798:54)
> at Promise.then.self.promiseDispatch.done (q/q.js:827:30)
> at Promise.promise.promiseDispatch (q/q.js:760:13)
> at Promise.then.self.promiseDispatch.threw (q/q.js:821:14)
> at flush (q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> process:function(platform, project_dir) {
> require('../../plugman').emit('verbose', 'Beginning processing of action stack for ' + platform + ' project...');
> var project_files;
> // parse platform-specific project files once
> if (platforms[platform].parseProjectFile) {
> require('../../plugman').emit('verbose', 'Parsing ' + platform + ' project files...');
> project_files = platforms[platform].parseProjectFile(project_dir);
> }
> while(this.stack.length) {
> var action = this.stack.shift();
> var handler = action.handler.run;
> var action_params = action.handler.params;
> if (project_files) {
> action_params.push(project_files);
> }
> try {
> handler.apply(null, action_params);
> > project_files
> - Object
> . pbx: "mobilespec/platforms/ios/mobilespec.xcodeproj/project.pbxp... (length: 83)"
> . plugins_dir: "mobilespec/platforms/ios/mobilespec/Plugins"
> . resources_dir: "mobilespec/platforms/ios/mobilespec/Resources"
> . write: function () {
> . xcode: pbxProject
> . xcode_path: "mobilespec/platforms/ios/mobilespec"
> > action_params
> - Array[3]
> . 0: Element
> . 1: "mobilespec/platforms/ios"
> . 2: Object
> . length: 3
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)