Strapi custom admin not visible on Heroku

System Information
  • Strapi Version: 3.5.3
  • Operating System: Mac OS
  • Database: PostGres
  • Node Version: 12.13.0
  • NPM Version:
  • Yarn Version: 1.22.10

Hi everyone :slight_smile:

I modified the page ./admin/src/containers/HomePage/Index.js following Strapi documentation Custom Admin - Strapi Developer Documentation.

All works well locally, I also did a build locally, but I am not able to see this modified page after deploying to Heroku.

I tried to desactivate node_modules caching, and I also pushed the file I modified on the repository via a custom .gitignore config like this to avoid cache troubles:

*.cache/*
!.cache/admin/
*.cache/admin/*
!.cache/admin/src
*.cache/admin/src/*
!.cache/admin/src/containers
*.cache/admin/src/containers/*
!.cache/admin/src/containers/HomePage
*.cache/admin/src/containers/HomePage/*
!.cache/admin/src/containers/HomePage/Index.js

This config only push the file Index.js but not the rest. But it also doesn’t work.

I also installed this cache manager plugin (How do I clear the build cache? - Heroku Help) but I did’nt run the purge command as Heroku tell me it is not recommended and could cause troubles…

Do you have any idea about how to see my modified admin on Heroku ?

Thank you !

I purged Heroku cache and rebuilt / redeployed Strapi but Dashboard is still not updating.
I am missing something ? :upside_down_face:

Thanks

Found out the solution witch was stupid: it was because of a typo: my filename was Index.js instead of index.js.

Now my index.js file correctly replace the index.js located in node_modules so everything works fine now.