whackage icon indicating copy to clipboard operation
whackage copied to clipboard

Error: rsync exited with code 12

Open ihor opened this issue 8 years ago • 7 comments

Hey guys,

I'm getting the following error:

$ whack run packager
error { Error: rsync exited with code 12
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/whackage/node_modules/rsyncwrapper/lib/rsyncwrapper.js:184:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:192:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) code: 12 }

Usage: npm <command>

where <command> is one of:
    access, adduser, bin, bugs, c, cache, completion, config,
    ddp, dedupe, deprecate, dist-tag, docs, doctor, edit,
    explore, get, help, help-search, i, init, install,
    install-test, it, link, list, ln, login, logout, ls,
    outdated, owner, pack, ping, prefix, prune, publish, rb,
    rebuild, repo, restart, root, run, run-script, s, se,
    search, set, shrinkwrap, star, stars, start, stop, t, team,
    test, tst, un, uninstall, unpublish, unstar, up, update, v,
    version, view, whoami

npm <cmd> -h     quick help on <cmd>
npm -l           display full usage info
npm help <term>  search for help on <term>
npm help npm     involved overview

Any ideas how to resolve it? Thanks!

ihor avatar Aug 01 '17 22:08 ihor

Getting the same issue on my end. I am getting this issue on a Machine with SSH access to the host but only when I run the task in jenkins.

dewwwald avatar Sep 23 '17 15:09 dewwwald

@ihor have you tried using the rsync command line tool directly?

dewwwald avatar Sep 23 '17 15:09 dewwwald

Yes, I've tried and it worked well.

ihor avatar Sep 23 '17 17:09 ihor

@ihor

Are you running this tool in any CI environment like jenkins?

dewwwald avatar Sep 23 '17 17:09 dewwwald

I had this issue locally on a Mac. Let me know if you need any specific information.

ihor avatar Sep 24 '17 07:09 ihor

@ihor @dewwwald we just released a new version 1.2.0 with bunch of bugfixes. The error message you are getting is a little odd, but I think it might be unrelated to rsync.

Any chance you could test if the latest release https://github.com/FormidableLabs/whackage/releases/tag/v1.2.0 fixes this issue?

jevakallio avatar Oct 19 '17 12:10 jevakallio

Hey, sorry, I got everything working with Haul and unfortunately, I don't have much time for testing this now.

ihor avatar Oct 19 '17 17:10 ihor