作者:用户3w7mnpewca | 来源:互联网 | 2023-08-31 21:08
I'm trying to deploy a small nodejs site to a an Ubuntu server that's on my local network.
So far i've made a simple test that's suppose to deploy a website to my server but i get this error:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| Branch merged.
Finished 'deploy:fetch' after 3.52 s
Running 'deploy:update' task...
Create release path "/var/www/shipit-test/releases/20150203204754"
Running "mkdir -p /var/www/shipit-test/releases/20150203204754" on host "192.168.1.200".
administrator.168.1.200's password:
Release path created.
Copy project to remote servers.
Remote copy "C:/Developer/shipit-test/deploy/" to "administrator.168.1.200:/var/www/shipit-test/releases/20150203204754"
.168.1.200-err 'rsync' is not recognized as an internal or external command,
.168.1.200-err operable program or batch file.
'deploy:update' errored after 11 s
Error: Command failed: 'rsync' is not recognized as an internal or external command, operable program or batch file.
at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5) |
My
looks like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| module.exports = function (shipit) {
require('shipit-deploy')(shipit);
shipit.initConfig({
default: {
workspace: 'C:/Developer/shipit-test/deploy',
deployTo: '/var/www/shipit-test',
repositoryUrl: 'https://github.com/boedlen/privat-repo.git',
ignores: ['.git', 'node_modules'],
keepReleases: 2,
shallowClone: true
},
staging: {
servers: 'deploy.168.1.200'
}
});
}; |
My server is an Ubuntu Server, and my computer is a Windows 8 - 64bit, is this a windows related issue?
该提问来源于开源项目:shipitjs/shipit
Agreed with - You should figure out if
is on path, if not, if
could do the job and even if not; acknowledge the user.