mgagna opened a new issue, #36: URL: https://github.com/apache/cordova-plugins/issues/36
# Bug Report Error installing the cordova-labs-local-webserver plugin using Cordova CLI 9+ ## Problem In Cordova 9, there is a change: Deprecate requireCordovaModule for non-Cordova modules. https://github.com/apache/cordova-lib/pull/707 Both scripts for local-webserver use requireCordovaModule to use `elementtree`, which fails/ ### What is expected to happen? Add the package without errors. ### What does actually happen? Throws an error ## Information Create a new Cordova app and add the plugin. You can use `cordova plugin add cordova-labs-local-webserver` ### Command or Code cordova plugin add cordova-labs-local-webserver ### Environment, Platform, Device I've reproduced it using Cordova-lib@12.0.1 with an app using the Cordova platform iOS 7.1.1 ### Version information Cordova-lib@12.0.1 with an app using the Cordova platform iOS 7.1.1 ## 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. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org