@I_want_to_know

Не запускается gulp, проблема со шрифтами, как исправить?

Всем привет!
На новой машине не запускается gulp (сборка от Фрилансер по жизни).
при попытке запустить, останавливается на обработке шрифтов:
PS C:\Users\ДОМ\OneDrive\Рабочий стол\project> npm run dev

> gulp-2022@1.0.0 dev
> gulp

`import sass from 'sass'` is deprecated.
Please use `import * as sass from 'sass'` instead.
[01:30:15] Using gulpfile ~\OneDrive\Рабочий стол\project\gulpfile.js
[01:30:15] Starting 'default'...
[01:30:15] Starting 'reset'...
[01:30:15] Finished 'reset' after 6.05 ms
[01:30:15] Starting 'otfToTtf'...
Read otf table error on TTTrailers-Regular.otf - Will just copy file
[01:30:16] Finished 'otfToTtf' after 324 ms
[01:30:16] Starting 'ttfToWoff'...
Read ttf table data error on CormorantUpright-Bold.ttf - Will just copy file
Read ttf table data error on CormorantUpright-Regular.ttf - Will just copy file
Read ttf table data error on CormorantUpright-SemiBold.ttf - Will just copy file
Parsing of the input font failed.
Read ttf table data error on TTTrailers-Regular.ttf - Will just copy file
Parsing of the input font failed.
Parsing of the input font failed.
Parsing of the input font failed.
Parsing of the input font failed.
Parsing of the input font failed.
Parsing of the input font failed.
Parsing of the input font failed.
[01:30:16] The following tasks did not complete: default, <series>, <series>, ttfToWoff
Did you forget to signal async completion?
PS C:\Users\ДОМ\OneDrive\Рабочий стол\project>


последовательность в gulp.js:
// Последовательная обработака шрифтов
const fonts = gulp.series(otfToTtf, ttfToWoff, fontsStyle);

Шрифты в итоге конвертирует.
Папку dist создаёт
папку fonts тоже создаёт

Содержимое package.json:
{
	"name": "gulp-2022",
	"version": "1.0.0",
	"description": "",
	"main": "gulpfile.js",
	"type": "module",
	"scripts": {
		"dev": "gulp",
		"build": "gulp build --build",
		"zip": "gulp deployZIP --build",
		"deploy": "gulp deployFTP --build",
		"svgSprive": "gulp svgSpriteTask"
	},
	"author": "FLS",
	"license": "ISC",
	"dependencies": {
		"gulp-cli": "^2.3.0"
	},
	"devDependencies": {
		"browser-sync": "latest",
		"del": "^6.1.1",
		"gulp": "^5.0.0",
		"gulp-autoprefixer": "latest",
		"gulp-clean-css": "latest",
		"gulp-file-include": "latest",
		"gulp-fonter-fix": "latest",
		"gulp-group-css-media-queries": "latest",
		"gulp-if": "latest",
		"gulp-imagemin": "latest",
		"gulp-newer": "latest",
		"gulp-notify": "latest",
		"gulp-plumber": "latest",
		"gulp-pug": "latest",
		"gulp-rename": "latest",
		"gulp-replace": "latest",
		"gulp-sass": "latest",
		"gulp-svg-sprite": "latest",
		"gulp-ttf2woff2": "latest",
		"gulp-util": "latest",
		"gulp-version-number": "latest",
		"gulp-webp": "latest",
		"gulp-webp-html-nosvg": "latest",
		"gulp-webpcss": "latest",
		"gulp-zip": "latest",
		"sass": "latest",
		"swiper": "latest",
		"vinyl-ftp": "latest",
		"webp-converter": "2.2.3",
		"webpack": "latest",
		"webpack-stream": "latest"
	}
}


Подскажите пожалуйста как исправить сие недоразуменние?
Какую доп инфу предоставить?
  • Вопрос задан
  • 405 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы