cordova-plugin-photo-library
cordova-plugin-photo-library copied to clipboard
Using “requireCordovaModule” to load non-cordova module “glob” is not supported
When i try to add plugin to my project. I got below error "Using “requireCordovaModule” to load non-cordova module “glob” is not supported"
my environment is like below; "cordova-ios": "^5.1.1", cordova -v : 9.0.0
No solution ?
?
Same problem. Just found this. Please update dependency to cordova-plugin-add-swift-support.
If you want to temporary solve the problem replace every "context.requireCordovaModule" with "require" into add-Swift-support.js which is in the directory "plugins/cordova-plugin-add-swift-support"
- Firstly delete you cordova-plugin-add-swift-support folder from plugin folder
- After that update your cordova-plugin-add-swift-support to the latest version from package.json "https://www.npmjs.com/package/cordova-plugin-add-swift-support"
Its solved my problem...Thank you.