Closed oskarrough closed 10 years ago
I've spotted the issue and I just fixed it. It was just because the revisionPath
variable was not defined inside the method, it should be looking on the global scope: this.revisionPath
.
But you may get a different error now, because the error that you had happens only when the file can't be created. So we may need to investigate a bit further.
Can you update to v1.1.1 and let me know how it goes?
Thank you! Now I'm getting:
$ dploy
Connecting to stage...
Checking revisions...
Error creating revision file at: build/.rev { [Error: ENOENT, open 'build/.rev'] errno: 34, code: 'ENOENT', path: 'build/.rev' }
Tried on another, new repo and now it seems to work. Not sure what the issue was but must have beens something in my files.
Usually this happens when you don't have the write permissions on that folder. To fix this you could run:
sudo chmod 777 build
But as you mentioned that it's working now, I will tick this issue as resolved :)
I'm getting the following error message when running
$ dploy
My dploy.yaml looks like this: