[ 
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: [email protected]
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to