Выдаёт ошибку:
Cannot GET /
Вот терминал:
gulp
[17:28:17] Using gulpfile D:\Программирование\Макеты сайтов\ДЛЯ ПОРТФОЛИО\internet magazine\gulpfile.js
[17:28:17] Starting 'default'...
[17:28:17] Starting 'dev'...
[17:28:17] Starting 'clean'...
[17:28:17] Finished 'clean' after 14 ms
[17:28:17] Starting 'pug'...
[17:28:17] Starting 'fonts'...
[17:28:17] Starting 'styles:dev'...
[17:28:17] Starting 'img:dev'...
[17:28:17] Starting 'libsJS:dev'...
[17:28:17] Starting 'js:dev'...
[17:28:17] Starting 'svg'...
[17:28:17] Finished 'img:dev' after 112 ms
[17:28:17] Plumber found unhandled error:
Error in plugin "gulp-pug"
Message:
D:\Программирование\Макеты сайтов\ДЛЯ ПОРТФОЛИО\internet magazine\dev\pug\modules\header\header-main.pug:13:26
11| a(href="").header__link Звонок бесплатный
12| .header__address.header-address
> 13| +icon('location'. 'header-address__icon')
---------------------------------^
14| span.header-address__text Москва, пр-т Бабушкин, 666 дом, 666 квартира
15| .header__goods
16| .header-goods
Syntax Error: Unexpected token
Details:
code: PUG:SYNTAX_ERROR
msg: Syntax Error: Unexpected token
line: 13
column: 26
filename: D:\Программирование\Макеты сайтов\ДЛЯ ПОРТФОЛИО\internet magazine\dev\pug\modules\header\header-main.pug
src: .header__main
.container
.header__logo.logo
img(src="static/images/general/logo.svg.svg" alt="Логотип").logo__image
.header__phones
.header__item
a(href="tel:84951203034").header__phone 8 (495) 120-30-34
a(href="").header__link Заказать звонок
.header__item
a(href="tel:88007077518").header__phone 8 (800) 707-75-18
a(href="").header__link Звонок бесплатный
.header__address.header-address
+icon('location'. 'header-address__icon')
span.header-address__text Москва, пр-т Бабушкин, 666 дом, 666 квартира
.header__goods
.header-goods
span.header-goods__price 0 ₽
span.header-goods__count 0 товаров
.header__basket
+icon('', 'header-basket__icon')
span.header-basket__text Корзина
toJSON: function () {
return {
code: this.code,
msg: this.msg,
line: this.line,
column: this.column,
filename: this.filename
};
}
[17:28:17] Finished 'pug' after 153 ms
[17:28:19] Finished 'styles:dev' after 1.61 s
[17:28:19] Finished 'js:dev' after 1.61 s
[17:28:19] Finished 'libsJS:dev' after 1.61 s
[17:28:19] Finished 'svg' after 1.61 s
[17:28:19] Finished 'fonts' after 1.62 s
[17:28:19] Finished 'dev' after 1.63 s
[17:28:19] Starting 'watch'...
[17:28:19] Starting 'serve'...
[Browsersync] Access URLs:
-------------------------------------
Local: http://localhost:3014
External: http://192.168.1.56:3014
-------------------------------------
UI: http://localhost:3015
UI External: http://localhost:3015
-------------------------------------
[Browsersync] Serving files from: ./build