cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-14191) Project does not include the specified platform: android error.
Date Wed, 04 Jul 2018 15:18:00 GMT


ASF GitHub Bot commented on CB-14191:

ruslan-bikkinin opened a new pull request #10: CB-14191 (android) Fix bug with module requiring
   Please make sure the checklist boxes are all checked before submitting the PR. The checklist
   is intended as a quick reference, for complete details please see our Contributor Guidelines:
   ### Platforms affected
   At least android.
   ### What does this PR do?
   This PR fixes requiring `Api.js` module for case-sensitive file systems like on Linux because
actual filename is upper cased. Bug leads to `Project does not include the specified platform:
android error.` error when trying to start server on android platform (cordova-android@~7.0.0).
   ### What testing has been done on this change?
   I tested it on Ubuntu 16.04 host machine with ext4 fs.
   ### Checklist
   - [x] [Reported an issue]( in the JIRA
   - [x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
   - [ ] Added automated test coverage as appropriate for this change.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Project does not include the specified platform: android error.
> ---------------------------------------------------------------
>                 Key: CB-14191
>                 URL:
>             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: [] 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:
>  # cd cordova-serve-repro
>  # npm i
>  # node serve

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message