Open RobertPinson opened 5 years ago
Hi, The before_prepare script is causing cordova build to fail with error: Cannot find module '../configparser/ConfigParser'
This line in the script var ConfigParser = ctx.requireCordovaModule('../configparser/ConfigParser'); is causing the error.
var ConfigParser = ctx.requireCordovaModule('../configparser/ConfigParser');
When i change it to: var ConfigParser = ctx.requireCordovaModule('cordova-common').ConfigParser; The build completes OK.
var ConfigParser = ctx.requireCordovaModule('cordova-common').ConfigParser;
Hi, The before_prepare script is causing cordova build to fail with error: Cannot find module '../configparser/ConfigParser'
This line in the script
var ConfigParser = ctx.requireCordovaModule('../configparser/ConfigParser');
is causing the error.When i change it to:
var ConfigParser = ctx.requireCordovaModule('cordova-common').ConfigParser;
The build completes OK.