Script error when loading the page

I get an error on the page. The template is new. I only inserted it into the code

<base href="[[++site_url]]">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
<meta charset="[[++modx_charset]]" />
 <title>[[*pagetitle]] - [[++site_name]]</title>
<meta name="keywords" content="[[*longtitle]]">
<meta name="description" content="[[*description]]">
[[$meta]]

Also in the address of the page “.html”, on other pages this is not

Page

The error occurs in a javascript file “owl.carousel.min.js”. This has nothing to do with MODX. Maybe the JS-carousel requires a certain element/structure. Maybe check the code in other custom JS-files.

The extension is different if the page is a folder (checkbox “Container”).
Also the extension can be changed by setting the resource field “Content Type”. (Content types can be created or changed in the menu “Content” → “Content Types”.)

hello.I know it has nothing to do with Modx, but suddenly someone will tell me.
as for.html in the address of the pages. There is no .html for other pages