cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruslan Bikkinin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-14191) Project does not include the specified platform: android error.
Date Wed, 04 Jul 2018 15:12:00 GMT
Ruslan Bikkinin created CB-14191:
------------------------------------

             Summary: 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


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