You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2022/10/13 22:09:00 UTC
[jira] [Closed] (CB-5702) platform add fails to install plugins if project has been moved to another directory
[ https://issues.apache.org/jira/browse/CB-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-5702.
----------------------------
Resolution: Cannot Reproduce
closing as can't reproduce since there isn't enough information to reproduce
it looks to me that the problem is having plugins installed from the filesystem and moving the project makes the filesystem path not work since it doesn't match anymore
it's not a problem for remote plugins
> platform add fails to install plugins if project has been moved to another directory
> ------------------------------------------------------------------------------------
>
> Key: CB-5702
> URL: https://issues.apache.org/jira/browse/CB-5702
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-cli
> Reporter: Andrew Grieve
> Priority: Minor
>
> {code}
> ./cordova-mobile-spec/createmobilespec.sh
> mkdir tmp
> cp -r mobilespec tmp
> cd tmp/mobilespec
> cordova rm ios
> cordova add ios
> {code}
> What you get:
> - All dependent plugins install fine
> - First non-dependent plugin fails with:
> {quote}
> Starting installation of "org.cordova.mobile-spec-dependencies" for ios
> /Users/agrieve/git/cordova/cordova-cli/node_modules/q/q.js:126
> throw e;
> ^
> Error: Failed to locate git repository for org.cordova.mobile-spec-dependencies plugin.
> at /Users/agrieve/git/cordova/cordova-plugman/src/install.js:278:57
> at exithandler (child_process.js:633:7)
> at ChildProcess.errorhandler (child_process.js:649:5)
> at ChildProcess.EventEmitter.emit (events.js:95:17)
> at Process.ChildProcess._handle.onexit (child_process.js:787:12)
> {quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org