/asset/bundle/X cannot be found on Production but works fine on Staging #60912
Unanswered
maluramichael
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I found "a solution". I ran |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I got the following problem in Sonata Admin. My javascript and Style files cannot be loaded on production. But everything seems to be the same on staging and there it works just fine.
Staging

Production

The files on the sever should exactly match because i just deployed the current staging state to prod.
Is there a way for me to debug this?
My bundles
And my dependencies
And my webpack.config.js
bin/console debug:config --resolve-env framework
gives me the followingEven without any version format strategy or json manifest the bundle files still got the hashed url
Beta Was this translation helpful? Give feedback.
All reactions