[
https://issues.apache.org/jira/browse/CB-6122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914873#comment-13914873
]
ASF subversion and git services commented on CB-6122:
-----------------------------------------------------
Commit 0b2f186bd63705752357b04150845d0f73f75e87 in cordova-plugman's branch
refs/heads/master from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=0b2f186 ]
CB-6122 Fix exception on uninstall due to incorrect require() path.
github: close #55
> action-stack process require() ../plugman instead of ../../plugman
> ------------------------------------------------------------------
>
> Key: CB-6122
> URL: https://issues.apache.org/jira/browse/CB-6122
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugman
> Affects Versions: 3.4.0
> Reporter: Josh Soref
> Assignee: Josh Soref
>
> $ cordova plugin remove org.cordova.mobile-spec-dependencies
> Uninstalling org.apache.cordova.test.echo from ios
> Error: Cannot find module '../plugman'
> at Function.Module._resolveFilename (module.js:338:15)
> at Function.Module._load (module.js:280:25)
> at Module.require (module.js:364:17)
> at require (module.js:380:17)
> at Object.ActionStack.process (plugman/src/util/action-stack.js:64:25)
> at handleUninstall (plugman/src/uninstall.js:186:20)
> at plugman/src/uninstall.js:135:16
> at _fulfilled (q/q.js:798:54)
> at self.promiseDispatch.done (q/q.js:827:30)
> at Promise.promise.promiseDispatch (q/q.js:760:13)
> process:function(platform, project_dir) {
> require('../../plugman').emit('verbose', 'Beginning processing of
> action stack for ' + platform + ' project...');
> require('../../plugman').emit('verbose', 'Parsing ' + platform +
> ' project files...');
> require('../../plugman').emit('warn', 'Error during
> processing of action! Attempting to revert...');
> require('../plugman').emit('warn', 'Error during
> reversion of action! We probably really messed up your project now, sorry!
> D:');
> ^ this one is not like the others!
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)