'Ionic IOS - requireCordovaModule error during app build
I have an Ionic app that runs fine using ionic serve and builds fine in android.
When attempting the generate the platform in iOS, I'm hitting this error that I cant quite figure out.
Error is to do with the package
- cordova.plugins.diagnostic
So far I've tried
- Uninstalling package and reinstalling
- Removing from Cordova plugins and re-adding
- Global npm install
- Updating the package versions
- Clearing out the node_modules folder
- npm outdated and npm update to get possible list of outdated packages
I had similar issues with cordova-sqlite-storage and ionic-plugin-keyboard but using the above steps of updating and re-adding did the trick but for this instance its just not working. Any help here would be appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


