@Silverbugnz wrote:
Hey All,
I’m trying to compile my code for ios and am getting the following error.
(node:7951) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7951) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I’m really struggling to find where in my code this is occurring. Are there any tips on where i can look for more information or something I can search for?
When i run the app locally it works fine, no issue, just when i try ‘ionic cordova build ios --prod’
Happy to provide more information if that’ll help?
Cheers
Paul
Posts: 1
Participants: 1