-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Bootstrap change: sourceMappingURL=bootstrap.min.css.map
to be included in latest release?
#488
Comments
I fixed it, but is not the "best way" Just copy the Jazmin app and remove the wrong lines
Thats all. for me, now is working in heroku |
Any updates? I try to collectstatic and received the same error: |
@ZanMax find the file that throws an error, scroll to bottom, there is a comment at the bottom "/*# sourceMappingURL=bootstrap.min.css.map */". Deleting this comment, made mine work. |
I've raised the relevant PR to release this fix, but don't have permission to merge - #540 |
@enoren5 we've released V2.6.1 of django-jazzmin now which include this fix. |
I’ve got jazzmin installed and running locally - - piece of cake. The developers have done a terrific job making it very simple to get started. But I’m now having an issue deploying to Heroku. Heroku is rejecting my push because the pre-receive hook fails. With Heroku, pre-receive hooks are like a ‘gate’ for receiving pushes: if the hook fails, then the session ends and the push doesn’t land.
In my long traceback, this is where my Heroku build chokes:
It can’t find:
vendor/bootswatch/default/bootstrap.min.css.map
. It appears Heroku is getting thrown off by the fact that this file ends with a strange .map extension - - it simply doesn’t exist.In my source code, there is no instance of
vendor
orbootswatch
. It’s not in either of my static folders and there is no jazzmin web app directory either. So I found the jazzmin source code here on GitHub and located thevendor
bootswatch
CSS file. Here it is on the master branch:At that location, if you click the latest commit (dated as recently as January 26, 2023), all the way at the bottom of the file the line which I think might be relevant is commented out which references the bootstrap css file location in the source. The commented out line reads:
It’s merged in
master
at the end of January but the latest version of the jazzmin package I have installed is v2.6.0 whose timestamp on GitHub shows November 3, 2022. What this means is that the key line and change in the CSS file which "might" solve my problem is newer than the out of date package I have installed.Since I can’t modify that css file locally with the way jazzmin is currently installed, I suppose there are two solutions that I can try:
I am leaning towards option 1 because this is something I can do myself rather than waiting on other people to do it for me (option 2).
I’d like to try my hand at installing jazzmin manually but the instructions in the
README.md
only show how to install one way:$ pip install django-jazzmin
.If I want to install jazzmin from source so that I am using the latest changes on
master
, what would be my next step?I went searching on Google for :
Nothing relevant came up.
The text was updated successfully, but these errors were encountered: