-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
requireCordovaModule issue with cordova 9 #78
Comments
same problem here! |
the same problem |
For anyone having issues with Cordova 9: You can use the following plugin: https://github.com/PeterHdd/cordova-plugin-crypto-file I have updated it and now it works with Cordova 9. to install it do the following:
|
Thanks @PeterHdd. In hooks/after_prepare.js, I changed: to: And: to: (I'm not really sure why the path is different... but that seemed to fix it. Something about the different 'path' object I guess). I hope that helps others until this plugin gets updated (Please, @tkyaji ...?). |
@cyborgk9 you can just use the plugin I referenced, made it to work with the new ionic webview. But it can work even if you are not using ionic. |
@PeterHdd Hmm; well, my app seemed to render incorrectly until I installed cordova-plugin-ionic-webview, but that bypassed Crosswalk I guess, as there were other layout issues. Maybe there's a way to get Ionic running with Crosswalk, in which case I would use that and your plugin... (that'd be ideal, in fact...) |
Hi all, Anyone find a solution for this plugin not working on Cordova 9 (not ionic) ? I tried https://github.com/PeterHdd/cordova-plugin-crypto-file Thx in advance. |
fixes from comment: tkyaji#78 (comment)
you can use cordova 8 instead of 9 |
platform : android 9 remove plugin install plugin latest version 1.4.0 fixes the cordova 9 issue. |
After upgrading Cordova to version 9 I get this error message:
Using "requireCordovaModule" to load non-cordova module "path" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
It's related to after_prepare.js file. Is there a way, how to fix this?
The text was updated successfully, but these errors were encountered: