This error is usually down to permissions. Most likely that the path is either invalid, or the path doesn't yet exist and the user doesn't have the permissions required to create it.
An example of this error would be:
error: no such file open "/path/to/my/folder"
/path/to/my exists, but "folder" hasn't been created yet and the deployment user doesn't have permissions to create it.
For further information about how to resolve this error please read this article.