Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
The build of the android apk for the ionc-showcase fails with this error:
Executing script found in plugin cordova-plugin-iroot for hook "before_prepare": plugins/cordova-plugin-iroot/scripts/handle_plugin_preferences.js Using "requireCordovaModule" to load non-cordova module "fs" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. CordovaError: Using "requireCordovaModule" to load non-cordova module "fs" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. at Context.requireCordovaModule (/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:57:15) at module.exports (/home/b1zzu/Projects/github.com/aerogear/ionic-showcase/plugins/cordova-plugin-iroot/scripts/handle_plugin_preferences.js:6:22) at runScriptViaModuleLoader (/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:181:32) at runScript (/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:16) at /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:125:20 at process._tickCallback (internal/process/next_tick.js:68:7) at Function.Module.runMain (internal/modules/cjs/loader.js:745:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Attachments
Issue Links
- relates to
-
AEROGEAR-9323 Create fork for Iroot plugin
- Resolved