Bootstrap.min.js issue
Posted: Mon Feb 27, 2023 1:58 am
@Pablo, not sure if this is a bug or something that I'm missing or a wrong setting.
I created a simple page that is mainly grids and text. There is a responsive menu and themeable button on a master page. Pretty basic.
When I preview Chrome is throwing this error:
Uncaught DOMException: Failed to execute 'querySelector' on 'Document': './index.html' is not a valid selector.
at o (file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:858)
at file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:51816
at Array.map (<anonymous>)
at Ye.refresh (file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:51799)
at new Ye (file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:51442)
at file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:54215
at Array.forEach (<anonymous>)
at file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:54203
at i (file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:4846)
I can see in the html code that it is calling 'bootstrap.min.js' but I'm not sure what is actually using it. When I remove it from the html, the error goes away and I don't notice any changes or anything not working so I can't say for sure if it is needed or not but would assume it is if WB is generating it.
I also sometimes see this error:
DevTools failed to load source map: Could not load content for file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js.map: System error: net::ERR_FILE_NOT_FOUND
In what instances would bootstrap.min.js be added to the html? Is there anything I need to specifically look at? I can provide a copy of my project if needed. It happens on every page.
I created a simple page that is mainly grids and text. There is a responsive menu and themeable button on a master page. Pretty basic.
When I preview Chrome is throwing this error:
Uncaught DOMException: Failed to execute 'querySelector' on 'Document': './index.html' is not a valid selector.
at o (file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:858)
at file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:51816
at Array.map (<anonymous>)
at Ye.refresh (file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:51799)
at new Ye (file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:51442)
at file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:54215
at Array.forEach (<anonymous>)
at file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:54203
at i (file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js:6:4846)
I can see in the html code that it is calling 'bootstrap.min.js' but I'm not sure what is actually using it. When I remove it from the html, the error goes away and I don't notice any changes or anything not working so I can't say for sure if it is needed or not but would assume it is if WB is generating it.
I also sometimes see this error:
DevTools failed to load source map: Could not load content for file:///C:/Users/Ron/Desktop/WB12-Preview/js/bootstrap.min.js.map: System error: net::ERR_FILE_NOT_FOUND
In what instances would bootstrap.min.js be added to the html? Is there anything I need to specifically look at? I can provide a copy of my project if needed. It happens on every page.