Expand my Community achievements bar.

Adobe Summit 2025: AEP & RTCDP Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Error 'return'

Avatar

Level 1

Hello,

When I upgrade the Adobe Analytics, Core, and Target extensions the built fails throwing the following error:

There was an error minifying your custom code.

'return' outside of function

Can you help us?

1 Accepted Solution

Avatar

Correct answer by
Level 2

Albert, it seems that it was a mistake of Adobe, now everything it's working again but, when something like this happens again, try to remove the events from the build and try to compile. If compiles (I'm pretty sure of it), start adding events one by one, to look when crashes the compile.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Albert, it seems that it was a mistake of Adobe, now everything it's working again but, when something like this happens again, try to remove the events from the build and try to compile. If compiles (I'm pretty sure of it), start adding events one by one, to look when crashes the compile.