Open pbgms opened 6 years ago
Any solution? I'm also receiving this.
@nitin-jotwani No, I don't use shipit for that project. But maybe downgrading to pre 2.5.0 version could solve this.
No solution at this moment, sorry. I would have time to release v4, but I have a lot of work these days...
I close it, feel free to reopen it after v4.
"An error is produced on FreeBSD. It seems that FreeBSD does not have -T option for mv command. This option was introduced with shipit-deploy 2.5.0".
Same on version 4.
also with deploying to a mac I have the same issue
I also ran into the same issue deploying to FreeBSD. I have a workaround monkey patch in my shipitfile.js
which seems to be working. The equivalent to -T
on FreeBSD for this specific use case is -h
.
shipit.blTask('fix-freebsd-mv', () => {
shipit.pool.connections.forEach(connection => {
const { run } = connection;
connection.run = (cmd, options) => {
cmd = cmd.replaceAll('mv -fT', 'mv -fh');
return run.call(connection, cmd, options);
}
});
});
shipit.on('deploy', () => {
return shipit.start(['fix-freebsd-mv']);
});
An error is produced on FreeBSD. It seems that FreeBSD does not have
-T
option formv
command. This option was introduced with shipit-deploy 2.5.0