@Cdelphi78

Gulp rsync не работает?

Здравствуйте! Подскажите почему не работает rsync, вываливаются какие ошибки..

H:\YandexDisk\web2018\study_maket_5\html>gulp rsync
[12:54:53] Using gulpfile H:\YandexDisk\web2018\study_maket_5\html\gulpfile.js
[12:54:53] Starting 'rsync'...
[12:54:57] gulp-rsync: Starting rsync to dev-working.ru:study_maket_5/...
internal/child_process.js:319
throw errnoException(err, 'spawn');
^

Error: spawn ENAMETOOLONG
at exports._errnoException (util.js:1050:11)
at ChildProcess.spawn (internal/child_process.js:319:11)
at exports.spawn (child_process.js:378:9)
at rsync.execute (H:\YandexDisk\web2018\study_maket_5\html\node_modules\gulp
-rsync\rsync.js:85:22)
at DestroyableTransform._flush (H:\YandexDisk\web2018\study_maket_5\html\nod
e_modules\gulp-rsync\index.js:131:19)
at DestroyableTransform. (H:\YandexDisk\web2018\study_maket_5\htm
l\node_modules\gulp-rsync\node_modules\readable-stream\lib\_stream_transform.js:
135:12)
at Object.onceWrapper (events.js:293:19)
at emitNone (events.js:91:20)
at DestroyableTransform.emit (events.js:188:7)
at finishMaybe (H:\YandexDisk\web2018\study_maket_5\html\node_modules\gulp-r
sync\node_modules\readable-stream\lib\_stream_writable.js:371:12)

H:\YandexDisk\web2018\study_maket_5\html>

gulp.task('rsync', function() {
return gulp.src('app/**')
.pipe(rsync({
root: 'app/',
hostname: 'dev-working.ru',
destination: 'study_maket_5/',
// include: ['*.htaccess'], // Includes files to deploy
exclude: ['**/Thumbs.db', '**/*.DS_Store'], // Excludes files from deploy
recursive: true,
archive: true,
silent: false,
compress: true,
chmod: "ugo=rwX"
}))
});
  • Вопрос задан
  • 385 просмотров
Пригласить эксперта
Ваш ответ на вопрос

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

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