You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/04/22 15:55:15 UTC

[GitHub] [cordova-plugin-screen-orientation] ghulamakbar14 opened a new issue #46: Production Build not created after ionic-native screen-orientation plugin is installed

ghulamakbar14 opened a new issue #46: Production Build not created after ionic-native screen-orientation plugin is installed
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/46
 
 
   # Bug Report
   
   ## Problem
   Production Build not created after ionic-native screen-orientation plugin is installed
   
   
   ### What is expected to happen?
   Production Build should be created after ionic-native screen-orientation plugin is installed. Without production flag build is created but I want to create it with production flag.
   
   
   ### What does actually happen?
   Production build is not created. I get the following error:
   
   > Unable to load PlatformApi from platform. Error: Cannot find module 'properties-parser'
   Unhandled error. (The platform "android" does not appear to be a valid cordova platform. It is missing API.js. android not supported.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code:
   
   `ionic cordova build android --prod --aot --vendor-chunk --common-chunk --delete-output-path --buildOptimizer`
   
   ### Environment, Platform, Device
   Android
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   - Ionic: 4.12.0
   - Cordova: 9.0.0
   - ionic-native/screen-orientation: ^5.5.0
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

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


With regards,
Apache Git Services

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