js error

Silverstripe Version:
5

Question:
Silverstripe admin js error
Details of your query go here
Uncaught ReferenceError: regeneratorRuntime is not defined

// Include any relevant code. If you have a lot of code, link to a gist instead.

Hi,

There seems to be a lot going on with the errors you have posted. There’s a 500 server error, and some syntax errors in both vendor and theme scripts.

Are you sure this is an actual admin JS error, rather than the result of errors elsewhere?

Hi @Tim thanks for your response
I recently upgrade siverstripe 4.13 to 5.2 using recipe-cms
Could you help me how i m debugging that isssue?

  • Make sure the site is in dev mode
  • Check your PHP logs for clues about the 500 error
  • Examine the http responses you’re getting from the backend in the network tab of your browser dev tools for clues
  • Make sure that there’s no chance you have old versions of the scripts from before the update in there (maybe run composer vendor-expose to be sure)
  • Remove / disable any 3rd party modules you may have… this might not be a core code problem, but a module that is incompatible