Bootstrap min css map ошибка

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

sourceMappingURL files 403 response #629

sourceMappingURL files 403 response #629

Comments

I was just investigating this issue on stackoverflow http://stackoverflow.com/questions/35142485/why-is-bootstrap-trying-to-load-less-files-in-ie-edge/35151109#35151109 and it became apparent that the less files declared in the bootstrap.min.css.map file are 403’ing

This is currently breaking SourceMap debugging in browser tools such as Edge and Chrome F12 tools.

The text was updated successfully, but these errors were encountered:

@thebeebs as @jmervine said thanks for reporting this. I will see if I can reach anyone on the Edge team.

The source map file will only be downloaded if you have source maps enabled and your dev tools open.

Got it. I have been against hosting anything but .js & .css and now I am seeing it as an anti-dev friendly move, which we are not about.

@jmervine let’s talk about this offline and make a decision.

Another option would be to remove the sourcemapurl comment from the css file or in the map file provide full urls to the files on GitHub (they don’t have to be hosted on your cdn)

@thebeebs I thought about that. I don’t know that it’s a valid option long term as our general policy is not to modify files that come from our sources, aside from perhaps minifying where necessary. That said, if @jdorfman is cool with it, we could consider doing it as a stop gap.

@jmervine correct I don’t want to change that policy, I rather just start delivering the .less files. So we just need to adjust the current workflow.

I’ll work on something this weekend to batch update the perms for *.less files on the origin.

any updates on the issue? I do have the same problem.

@nebeleh No sorry, I didn’t get to this. I will though. Thanks for the ping as a reminder. 😀

@jdorfman @nebeleh This is actually a bit more work to resolve. The issue is, we haven’t in the past uploaded less files to the s3 bucket, and there’s quite a few spread through out. I’ll get to it, but probably not this week. I’ll shoot for the weekend.

Читайте также:  Основы PHP и MySQL

Okay, I’ve uploaded and verified perms on all .map , .less and .scss files. Please open an new issue, or reopen this one if you come across anything else that’s missing / incorrect.

Thank you for checking on this. Although I still do have some issues, especially when using Edge. I’m using bower to load up bootstrap from https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min, but I receive this error in console: HTTP404: NOT FOUND — The server has not found anything matching the requested URI (Uniform Resource Identifier). (XHR): GET — http://. /bower_components/bootstrap/dist/css/less/normalize.less plus a similar message for many other .less files inside bootstrap. It may not have any actual effect on the final code, yet it would be nice if I can resolve them. Should I use a different version for the CDN?

capture

Just confirming that it’s still 403-ing all over the place. Is there something that needs to be enabled at Bootstrap’s end? See twbs/bootstrap#19063 (comment)

@patrickhlauke thanks. @jmervine and I will keep digging in.

@patrickhlauke @cvrebert would it be possible to remove /*# sourceMappingURL=bootstrap-theme.min.css.map */ from the .min files on build?

Or at least help me understand why it is necessary?

We prefer to serve the exact file from GitHub so everyone can be assured that we are not injecting anything, hence why we leave it in.

Assuming we can rejigger the sourcemap to not reference external Less filepaths (which I believe is possible; see twbs/bootstrap#19063), it shouldn’t be necessary to disable/remove sourcemaps from the CSS (nor to host any Less files).

@cvrebert that would be ideal. Let us know if we can be of help in anyway.

@jdorfman I was able to reproduce on iOS Chrome for the bottom link, but
not top. I can fix that within the hour if you don’t get to it first.

J
On Tue, May 31, 2016 at 02:38 Adrian Cooke notifications@github.com wrote:

@wingnut808 You’re getting 403 on http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/less/normalize.less, because we don’t provide that file and 403 is the default response for a missing file in AWS S3. As for http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css, I verified the perms on it and they look right. mind running a quick curl HEAD request and dumping me the output. for example.

jmervine@laptop:~$ curl -s -I http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css HTTP/1.1 200 OK Date: Tue, 31 May 2016 14:46:13 GMT Content-Type: text/css Content-Length: 121260 Connection: keep-alive Last-Modified: Tue, 24 Nov 2015 19:49:46 GMT ETag: "2f624089c65f12185e79925bc5a7fc42" Server: NetDNA-cache/2.2 Expires: Fri, 26 May 2017 14:46:13 GMT Cache-Control: max-age=31104000 Vary: Accept-Encoding Access-Control-Allow-Origin: * X-Hello-Human: You should work for us! Email: jdorfman+theheader@maxcdn.com or @MaxCDNDeveloper on Twitter X-Cache: HIT Accept-Ranges: bytes 

@jdorfman I know we discussed providing development files and thought we decided to, start including them moving forward. Can you confirm?

Источник

Ошибка bootstrap.css

программист говорит, что это нормально. что значит нормально? это правда? стоит ли это откуда-то из конфига удалять или почему ошибка?

Читайте также:  Javascript var string type

Для чего в Bootstrap файлы bootstrap.css.map и bootstrap-theme.css.map?
В дистрибутиве Bootstrap были замечены файлы bootstrap.css.map и bootstrap-theme.css.map. А начале.

Bootstrap в CSS?
Ребят, подскажите пожалуйста, получил задание по WP, один из пунктов: В custom-style.css написать.

CSS Bootstrap шаблон
Есть у кого реализованный шаблон? Вообще без разницы какое наполнение del

Bootstrap css обсуждение
Всем привет! Меня вот интересует: На сколько тяжелая библиотека bootstrap? Стоит ли ее.

Стоит ли из конфига удалить эту строчку, мешает ли она как-то?

Добавлено через 13 часов 56 минут
Или этот файл нужен и его нужно обязательно восстановить, раз пропал?

Лучший ответ

Сообщение было отмечено whiteapps как решение

Решение

если вам не нравится данная ошибка .то можно удалить это в bootstrap.css:
/*# sourceMappingURL=bootstrap.css.map */

Я задал конкретный вопрос. Зачем вы мне кидаете ссылку на документацию? Поясните, как тот кто понимает, нужно ли убирать это из конфига или это нужный параметр и нужно искать куда пропал потерянный файл?
Тест валидации проваливается из-за этой ошибки.

Он позволяет в инструментах для разработчиков (например, встроенных в браузеры Хром или Файерфокс) работать со сжатым CSS кодом так, как будто бы он не был сжат.

Искать куда пропал не нужно, тк можно взять новый с сайта bootstrap.

ЦитатаСообщение от HelloMark Посмотреть сообщение

вам дали конкретный ответ

ЦитатаСообщение от HelloMark Посмотреть сообщение

потому что там находится ответ

ЦитатаСообщение от HelloMark Посмотреть сообщение

ЦитатаСообщение от itisntsoHard Посмотреть сообщение

если вам не нравится данная ошибка .то можно удалить это в bootstrap.css:
/*# sourceMappingURL=bootstrap.css.map */

ЦитатаСообщение от HelloMark Посмотреть сообщение

такой, как другие; обычный, соответствующий норме

ЦитатаСообщение от HelloMark Посмотреть сообщение

ЦитатаСообщение от HelloMark Посмотреть сообщение

на работоспособность не влияет

HelloMark, а вообще, постарайтесь быть более дружественным и менее критичным
тут вам помогают понять
а если вам нужно что бы просто «все сделали хорошо», без всяких усилий с вашей стороны, идите в раздел фриланс

я глубочайшие извиняюсь, но тут вам никто ничем не обязан, и itisntsoHard помог вам исключительно добровольно и бескорыстно
если Вас не устраивает его помощь, снова извините, но вы не его работодатель что бы что-либо требовать от него и писать в такой манере

Изменение в файле Bootstrap.css
Вечер добрый! Взял сетку Bootstrap за основу и пытаюсь внести изменения в медиа запросы. Хочу.

Подключение bootstrap-theme.css
Когда обязательно подключение href="css/bootstrap-theme.css" и необходимо ли подключать .

Убрать отступ c права bootstrap 3 — HTML, CSS
Подскажите пожалуйста как убрать отступ с права внутри контейнера. Спасибо. <!DOCTYPE html>.

Какова роль файла bootstrap-theme.min.css?
какова роль файла bootstrap-theme.min.css и в каком случае можно без него обойтись ? Для чего он.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Читайте также:  Invert text color css

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

404 errors for bootstrap.min.css.map #4875

404 errors for bootstrap.min.css.map #4875

Comments

Looks like the minified CSS from the boostrap upgrade has references to the sourcemap, which is triggering 404 errors (possibly because the sourcemap is bootstrap.min.css.map instead a prime-face-ized bootstrap.min.css.xhtml?version=4.9.1 )

The text was updated successfully, but these errors were encountered:

My suspicion is that the older bootstrap version had the sourcemap commented out in the minified CSS, and the newer one didn’t (or there’s a different in the minification procedure used internally between the two bootstrap versions).

@pameyer ok, I just search through the git history trying to figure out if we purposefully commented out sourceMappingURL in the past. If so, I couldn’t find a commit message about it. I went ahead and approved #4876 but before dragging it to QA, I’ll let others weigh in. It bothers me a little that we can’t use Bootstrap out of the box, that we have to edit these files. It makes me wonder if we would have 404s if we got Bootstrap from a CDN. I’m aware that we backed off of using a CDN in c11c96a as part of our recent Bootstrap upgrade in pull request #4806 (discussion in #4219).

curl -s https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css | grep -c sourceMap -> 1 suggests this would also occur using the CDN provided version.

@pameyer interesting. Are you saying that your pull request actually gets us closer to vanilla Bootstrap?

@pdurbin somewhat the opposite (the CDN version includes references to the sourcemap in minified CSS)

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

ERROR «bootstrap.min.css.map» NOT FOUND in spring-boot jsf project #42

ERROR «bootstrap.min.css.map» NOT FOUND in spring-boot jsf project #42

Comments

We have a spring-boot project with JSF (Mojarra 2.2.12) :
With version 3.3.5 of Bootstrap webjars all is working with no error;
After upgading to version 3.3.6; an error occured with message :

StatusCode : 404 ErrorMessage : Not Found RequestUri : /javax.faces.resource/bootstrap/3.3.6/css/bootstrap.min.css.map 
h:outputStylesheet library pl-s">webjars" name pl-s">bootstrap/3.3.6/css/bootstrap.min-jsf.css"/> h:outputStylesheet library pl-s">webjars" name pl-s">bootstrap/3.3.6/css/bootstrap-theme.min-jsf.css"/> . . h:outputScript library pl-s">webjars" name pl-s">bootstrap/3.3.6/js/bootstrap.min.js"/>

The text was updated successfully, but these errors were encountered:

Источник

Оцените статью