AppLovin / AppLovin-MAX-Cordova

MIT License
10 stars 12 forks source link

Error when adding plugin on iOS #12

Closed Carlosps closed 2 years ago

Carlosps commented 2 years ago

When I try to add the plugin on iOS I get the error message. Installing "cordova-plugin-applovin-max" for ios (node:36452) [DEP0128] DeprecationWarning: Invalid 'main' field in node_modules/objectorarray/package.json' of 'dist/index.js'. Please either fix that or report it to the module author (Usenode --trace-deprecation ...to show where the warning was created)

thomasmso commented 2 years ago

This seems to be a warning that derives from the objecttoarray package: https://github.com/indentjs/objectorarray/issues/7, you can also use node --trace-deprecation as suggested in the log to trace down the exact library owner.

Carlosps commented 2 years ago

Thank you @thomasmso. It was indeed an issue with the other package you mentioned.

I have faced another issue when adding this plugin on iOS. I have created a pull request explaining the issue and fixing it, please take a look.

thomasmso commented 2 years ago

Hey @Carlosps - checked out the PR and responded to it, lmk if you have any other Qs, and thanks once again for raising that PR!