Problems trying to update from 3.4.6 to 3.6.1

System Information
  • **Strapi Version3.4.6:
  • **Operating SystemWindows 10:
  • **DatabaseMysql (latest):
  • Node Version>=10.16.0:
  • NPM Version>=6.0.0:
  • **Yarn Version1.22.5:

Guys, I’ve tried to update my Strapi that is hosted at AWS. However I’ve been facing an error that looks like it’s generated by admin/src/containers/LeftMenu/reducer.js.

Here’s what I’ve found so far:

./strapi-admin/admin/src/containers/LeftMenu/reducer.js:authorizedStLinks
./strapi-admin/admin/src/containers/LeftMenu/utils/getCtOrStLinks.js:authorizedStLinks
./strapi-admin/admin/src/containers/LeftMenu/useMenuSections.js:authorizedStLinks
./strapi-admin/admin/src/containers/LeftMenu/actions.js:authorizedStLinks

There are no erro numbers or anything like that. The build runs, however in the browser we see an error saying something like "Unexpected token ‘<’… ", and those are the files that it refeers to.

Anything you guys think might be causing it?

OBS: No extensions/plugins were added yet.

Hi @gabeleon,

Does it work in local ?

After migration you have to rebuild your administration panel, did you do it ?

For more details: Update Strapi version - Strapi Developer Documentation

Hey @Stun3R,

Yes, it does work locally.

We rebuilt it however the error persists.

The thing is, it won’t show any errors, the only thing is that log that I showed you before and the warning saying: “token ‘<’…”.