Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
cordova-serve@2.0.1
-
None
-
None
-
OS: Ubuntu 16.04
Cordova CLI: 8.0.0
Description
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
Attachments
Issue Links
- links to