clasp
clasp copied to clipboard
Symlinks cause silent errors on push
This is not the same as #255 or #264, although definitely related.
Bad symlinks will cause clasp push to fail - this is good. What's bad is the given error message. Luckily I solved it pretty quickly, but I if I were having a bad day I could have been here a while.
I can successfully perform a push by fixing any bad symlinks in my project. What's important here is the error message returned by clasp.
Expected Behavior
After clasp push, the reported error should be informative.
Actual Behavior
$ clasp push
Push failed. Errors:
Steps to Reproduce the Problem
- Create a new project:
clasp create - Create a bad symlink,
ln -s /this/does/not/exist.ts test.ts - Call
clasp push
Specifications
- Node version: 8.12
- Version: 2.01
- OS: Linux - Ubuntu 18.04
OK, thanks for the report.
Will have to look at the error handler for clasp push.