michaljach / ember-cli-deploy-scp

Easily deploy your Ember applications via ssh using scp.
MIT License
1 stars 0 forks source link

Helpful error message if `rsync` not installed #32

Open roschaefer opened 6 years ago

roschaefer commented 6 years ago

I tried a local deployment and faced:

robert@e480 ~/D/r/frontend> ember deploy staging
DEPRECATION: Ember will stop including jQuery by default in an upcoming version. If you wish keep using jQuery in your application expli
cleaning up...
Deploying [====>] 100% [plugin: scp -> upload]
- Error: rsync exited with code 127
Error: rsync exited with code 127
Error: rsync exited with code 127
    at Rsync.<anonymous> (/home/robert/Development/rundfunk-mitbestimmen/frontend/node_modules/rsync/rsync.js:470:21)
    at Object.apply (/home/robert/Development/rundfunk-mitbestimmen/frontend/node_modules/harmony-reflect/reflect.js:2064:37)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:961:16)
    at Socket.stream.socket.on (internal/child_process.js:380:11)
    at Object.apply (/home/robert/Development/rundfunk-mitbestimmen/frontend/node_modules/harmony-reflect/reflect.js:2064:37)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:595:12)
Pipeline aborted

I had to google 127 and installing rsync fixed it. A better error message would be great though.