Здравствуйте! Начал делать новый проект на новой сборке. И на старте выдает ошибку при компиляции pug. Я использую
bemto. И ошибка в подключении его но я не знаю где именно ошибка.
>
ERROR in Template execution failed: TypeError: clone is not a function
ERROR in TypeError: clone is not a function
- index.pug:19 get_bemto_settings
[.]/[html-webpack-plugin]/lib/loader.js!./src/pug/pages/index.pug:19:18
- index.pug:218 Object.pug_interp
[.]/[html-webpack-plugin]/lib/loader.js!./src/pug/pages/index.pug:218:16
- index.pug:647 Object.pug_interp [as header]
[.]/[html-webpack-plugin]/lib/loader.js!./src/pug/pages/index.pug:647:17
- index.pug:665 eval
[.]/[html-webpack-plugin]/lib/loader.js!./src/pug/pages/index.pug:665:21
- index.pug:668 template
[.]/[html-webpack-plugin]/lib/loader.js!./src/pug/pages/index.pug:668:72
- index.js:284
[public2]/[html-webpack-plugin]/index.js:284:18
Вот так я его подключаю в дефал шаблоне
include ../bemto/bemto
include ../includes/modules/head
include ../includes/modules/header
include ../includes/modules/footer
block variables
doctype html
html(lang='en')
+head()
body
+header()
block content
+footer()
вот структура папок
![5e124399efc3d706576705.png](https://habrastorage.org/webt/5e/12/43/5e124399efc3d706576705.png)
Подскажите как мне решить данную проблему