Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70448

I can't find my where the Unhandled Promise Rejection Warning error is coming from?

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 70448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>