cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5702) platform add fails to install plugins if project has been moved to another directory
Date Mon, 23 Dec 2013 22:43:51 GMT

    [ https://issues.apache.org/jira/browse/CB-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855986#comment-13855986
] 

Andrew Grieve commented on CB-5702:
-----------------------------------

Suspect the problem is the plugins/FOO/.fetch.json file, which for mobile-spec-dependencies
has:
{quote}
{"source":{"type":"local","path":"../cordova-mobile-spec/dependencies-plugin"}}
{quote}

Is this file even necessary? I thought the point of having plugins/ was that we wouldn't require
the original install location anymore.

> 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: 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
(v6.1.5#6160)

Mime
View raw message