@nataliepankovaod

Как настроить concat в Gulp?

Добрый день, не могу настроить concat в Gulp.
Код gulpfile.js
5a3e73caeef63042340235.png
ошибка при запуске 'scripts' в терминале

[16:53:22] Using gulpfile ~/Desktop/myproject/gulpfile.js
[16:53:22] Starting 'scripts'...
[16:53:22] 'scripts' errored after 17 ms
[16:53:22] TypeError: path must be a string or Buffer
at Object.fs.readdir (fs.js:917:11)
at scanDir (/Users/user/Desktop/myproject/node_modules/gulp-uglify-js/index.js:7:8)
at Gulp. (/Users/user/Desktop/myproject/gulpfile.js:22:15)
at module.exports (/Users/user/Desktop/myproject/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/user/Desktop/myproject/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/user/Desktop/myproject/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/user/Desktop/myproject/node_modules/orchestrator/index.js:134:8)
at /usr/local/lib/node_modules/gulp-cli/lib/versioned/^3.7.0/index.js:54:20
at process._tickCallback (internal/process/next_tick.js:150:11)
at Function.Module.runMain (module.js:703:11)
  • Вопрос задан
  • 105 просмотров
Пригласить эксперта
Ваш ответ на вопрос

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

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