cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12921) createmobilespec --android fail to build apk out
Date Wed, 14 Jun 2017 22:30:00 GMT

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

Filip Maj commented on CB-12921:
--------------------------------

Can confirm I get the same issue on mac OS.

> createmobilespec --android fail to build apk out
> ------------------------------------------------
>
>                 Key: CB-12921
>                 URL: https://issues.apache.org/jira/browse/CB-12921
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-mobile-spec
>    Affects Versions: Master
>            Reporter: Haitao Huo
>
> Failed to build mobilespec apk with all master code (w/o --global) on Windows on latest
commit [7a8101 | https://github.com/apache/cordova-mobile-spec/commit/7a8101496703f780c20c9324c2c5bde3928ade60].
> {code}
> > cordova-mobile-spec\createmobilespec\createmobilespec.cmd --android
> Creating project from local git repos. If you have any errors, it may be from missing
repositories.
> To clone repositories:
>   .\cordova-coho\coho repo-clone -r mobile-spec -r plugin-test-framework -r cli -r lib
-r plugman -r android -r js -r plugins
>   mkdir cordova-cli\node_modules
>   (cd cordova-lib\cordova-lib\ && npm install)
>   (cd cordova-plugman\ && npm install)
>   mkdir cordova-cli\node_modules
>   ln -s ..\..\cordova-lib\cordova-lib cordova-cli\node_modules
>   (cd cordova-cli && npm install)
> To update all repositories:
>   .\cordova-coho\coho repo-update
> Checking if you are using master branch of tools
> refs/heads/master
> fatal: Not a git repository (or any of the parent directories): .git
> {code}
> Two problems:
> 1. The error message is not straightforward do not know what next to fix
> 2. The cordova-lib\cordova-lib\ does not exist at all, that is how the fatal reported.
> Workaound:
> 1. Append --skiplink will resolve
> 2. Or append --gloabl, but it will use npm registry version instead of local git, which
is not what we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message