Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsync exited with code 127 #32

Open
paddingme opened this issue Jan 4, 2016 · 4 comments
Open

rsync exited with code 127 #32

paddingme opened this issue Jan 4, 2016 · 4 comments

Comments

@paddingme
Copy link

events.js:141
      throw er; // Unhandled 'error' event
      ^
Error: Error: rsync exited with code 127
    at ChildProcess.<anonymous> (/Users/paddingme/Documents/paddingme's work/front/xsczda/client/node_modules/gulp-rsync/rsync.js:110:17)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:818:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

OS X EI Capitan

@frob
Copy link

frob commented Feb 18, 2016

I think error code 127 is that rsync wasn't on the host. It would need to be on the both source and destination machines.

@sinpaout
Copy link

I have same problem and installing rsync on the Host was resolved for me.

@frob
Copy link

frob commented Feb 16, 2017

This can be closed.

@BiDbMAK
Copy link

BiDbMAK commented Jan 13, 2018

I have the same problem on bitbucket pipelines and installing rsync was resolved for me.
Here is my bitbucket-pipelines.yml config:

image: node:8.9.1

pipelines:
  default:
    - step:
        script:
          - echo "deploy with peace and harmony"

  branches:
      master:
        - step:
            caches:
            - node
            script:
            - apt-get update && apt-get -qq install rsync
            - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2
            - export PATH=$HOME/.yarn/bin:$PATH
            - yarn
            - yarn global add gulp-cli rsync
            - gulp deploy --staging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants