Как исправить ошибки Chrome при просмотре файлов, загруженных с помощью автономного проводника? - PullRequest
0 голосов
/ 12 июля 2020

Я загрузил bootstrap документацию для версии 4.5 с помощью программного обеспечения offline explorer. Проблема, с которой я сталкиваюсь, заключается в просмотре этих файлов в автономном режиме с помощью Chrome. Когда я просматриваю с помощью inte rnet explorer, все в порядке. Веб-страницы отображаются правильно, но некоторые вещи, такие как раскрывающиеся меню, не работают, я думаю, это связано с тем, что не загружается какой-то файл javascript. Вот скриншот ошибок консоли в Chrome: скриншот Chrome Вот копия журнала консоли:

DevTools failed to load SourceMap: Could not parse content for http://127.0.0.1:800/1/https@cdn.jsdelivr.net/npm/docsearch.js_402/dist/cdn/docsearch.min.css.map: Unexpected token < in JSON at position 0
DevTools failed to load SourceMap: Could not parse content for http://127.0.0.1:800/1/https@www.getbootstrap.com/docs/4.5/dist/css/bootstrap.min.css.map: Unexpected token < in JSON at position 0
DevTools failed to load SourceMap: Could not parse content for http://127.0.0.1:800/1/https@www.getbootstrap.com/docs/4.5/assets/css/docs.min.css.map: Unexpected token < in JSON at position 0
default.htm:1 Failed to find a valid digest in the 'integrity' attribute for resource 'http://127.0.0.1:800/1/https@www.getbootstrap.com/docs/4.5/dist/js/bootstrap.bundle.min.js' with computed SHA-256 integrity 'hFgM0OHBlTb8jaN+7kqO/N/07M3IbeS9Octou8075m0='. The resource has been blocked.
jquery-3.5.1.slim.min.js:2 jQuery.Deferred exception: t(...).tooltip is not a function TypeError: t(...).tooltip is not a function
    at HTMLDocument.<anonymous> (http://127.0.0.1:800/1/https@www.getbootstrap.com/docs/4.5/assets/js/docs.min.js:22:60)
    at e (http://127.0.0.1:800/1/https@code.jquery.com/jquery-3.5.1.slim.min.js:2:30211)
    at t (http://127.0.0.1:800/1/https@code.jquery.com/jquery-3.5.1.slim.min.js:2:30513) undefined
E.Deferred.exceptionHook @ jquery-3.5.1.slim.min.js:2
t @ jquery-3.5.1.slim.min.js:2
setTimeout (async)
(anonymous) @ jquery-3.5.1.slim.min.js:2
c @ jquery-3.5.1.slim.min.js:2
fireWith @ jquery-3.5.1.slim.min.js:2
fire @ jquery-3.5.1.slim.min.js:2
c @ jquery-3.5.1.slim.min.js:2
fireWith @ jquery-3.5.1.slim.min.js:2
ready @ jquery-3.5.1.slim.min.js:2
F @ jquery-3.5.1.slim.min.js:2
carbon.js@serve=CKYIKKJL&placement=getbootstrapcom:1 GET https://srv.carbonads.net/ads/.json?segment=placement:getbootstrapcom&callback=_carbonads_go net::ERR_BLOCKED_BY_CLIENT
init @ carbon.js@serve=CKYIKKJL&placement=getbootstrapcom:1
(anonymous) @ carbon.js@serve=CKYIKKJL&placement=getbootstrapcom:1
jquery-3.5.1.slim.min.js:2 Uncaught TypeError: t(...).tooltip is not a function
    at HTMLDocument.<anonymous> (docs.min.js:22)
    at e (jquery-3.5.1.slim.min.js:2)
    at t (jquery-3.5.1.slim.min.js:2)
(anonymous) @ docs.min.js:22
e @ jquery-3.5.1.slim.min.js:2
t @ jquery-3.5.1.slim.min.js:2
setTimeout (async)
E.readyException @ jquery-3.5.1.slim.min.js:2
(anonymous) @ jquery-3.5.1.slim.min.js:2
e @ jquery-3.5.1.slim.min.js:2
t @ jquery-3.5.1.slim.min.js:2
setTimeout (async)
(anonymous) @ jquery-3.5.1.slim.min.js:2
c @ jquery-3.5.1.slim.min.js:2
fireWith @ jquery-3.5.1.slim.min.js:2
fire @ jquery-3.5.1.slim.min.js:2
c @ jquery-3.5.1.slim.min.js:2
fireWith @ jquery-3.5.1.slim.min.js:2
t @ jquery-3.5.1.slim.min.js:2
setTimeout (async)
(anonymous) @ jquery-3.5.1.slim.min.js:2
c @ jquery-3.5.1.slim.min.js:2
fireWith @ jquery-3.5.1.slim.min.js:2
fire @ jquery-3.5.1.slim.min.js:2
c @ jquery-3.5.1.slim.min.js:2
fireWith @ jquery-3.5.1.slim.min.js:2
ready @ jquery-3.5.1.slim.min.js:2
F @ jquery-3.5.1.slim.min.js:2
default.htm:1 Error while trying to use the following icon from the Manifest: http://127.0.0.1:800/1/https@www.getbootstrap.com/docs/4.5/assets/assets/img/favicons/android-chrome-192x192.png (Resource size is not correct - typo in the Manifest?)

С Inte rnet Explorer работает нормально: скриншот Inte rnet Explorer Кто-нибудь может мне помочь?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...