cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

End User Monitoring (EUM)

"this.thenCore is not a function" error in Chrome/Chromium based browsers in adrum-latest.js versions 20.8.0.3230+

SOLVED

"this.thenCore is not a function" error in Chrome/Chromium based browsers in adrum-latest.js versions 20.8.0.3230+

We inject the adrum script into our application pointing to the CDN version of "adrum-latest.js". This of course loads the latest version of the script from the CDN.

 

We noted that as of version 20.8.0.3230 (up to the latest: https://cdn.appdynamics.com/adrum/adrum-20.9.0.3268.js) we are getting the following "this.thenCore is not a function" error in all Chrome or Chromium based browsers (The new Edge, Brave, Vivaldi, Opera)... but Firefox, old Edge and Internet Explorer were fine (didn't check in Safari yet).

 

adrum-latest-error.png

 

As such we have two questions:

1.) What is a version number from about 2 weeks ago when things appeared to be working for us so that we can link to the older version to verify the issue (and the diff between the versions)

2.) Has anyone else encountered this issue? or know what in our code might trigger this issue?

By replying you agree to the Terms and Conditions of the AppDynamics Community.
"this.thenCore is not a function" error in Chrome/Chromium based browsers in adrum-latest.js versions 20.8.0.3230+
2 REPLIES 2

We found that the solution was that these 2 settings were required as part of the configuration to avoid the this.thenCore error:

 

config.spa = {"spa2": true};
config.isZonePromise = true;

 

With these both applied, the error went away, and the pages loaded correctly.

Jeanie.Kedia
Community Manager

Thanks @Stephen.Cunliffe for sharing your solution in the community, helps to build additional knowledge for all to benefit!