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.
apache/cordova-lib#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
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.
apache/cordova-lib#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-webserverCommand 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