cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-14191) Project does not include the specified platform: android error.
Date Mon, 03 Sep 2018 08:28:00 GMT

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

ASF subversion and git services commented on CB-14191:
------------------------------------------------------

Commit d05ce7c0517d9df147895216a60c2697645cd951 in cordova-serve's branch refs/heads/master
from [~ruslan.bikkinin]
[ https://gitbox.apache.org/repos/asf?p=cordova-serve.git;h=d05ce7c ]

CB-14191 (android) Fix bug with module requiring (#10)



> Project does not include the specified platform: android error.
> ---------------------------------------------------------------
>
>                 Key: CB-14191
>                 URL: https://issues.apache.org/jira/browse/CB-14191
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-serve
>    Affects Versions: cordova-serve@2.0.1
>         Environment: OS: Ubuntu 16.04
> Cordova CLI: 8.0.0
>  
>            Reporter: Ruslan Bikkinin
>            Priority: Major
>
> Code on this this line: [https://github.com/apache/cordova-serve/blob/master/src/util.js#L81] is
trying to require `cordova/api` module but actual filename generated by cordova is Api.js
and no file is being found on case-sensitive file systems like ext4. It leads to _Project
does not include the specified platform: android_ error.
> To reproduce issue please do the following:
>  
>  # Make sure that you are using case-sensitive file system
>  # Clone demo repo: https://github.com/ruslan-bikkinin/cordova-serve-repro
>  # cd cordova-serve-repro
>  # npm i
>  # node serve
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message