Clasp push fails silently
See original GitHub issueclasp push
fails with no error log:
Expected Behavior
After clasp push, expect edits to be present in web interface.
Actual Behavior
Clasp push produces following output:
Push failed. Errors:
No errors are displayed.
Steps to Reproduce the Problem
- clasp clone <script ID>
- edit script file
- clasp push
Specifications
- Node version (
node -v
): v7.5.0 - Version (
clasp -v
): 1.4.0 - OS (Mac/Linux/Windows): Mac OS 10.13.3
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Google sheets: clasp push command fails - Stack Overflow
I am trying to push Google App Scripts code to cloud using the following command clasp push. But it fails with the following...
Read more >How to Write Google Apps Script Code Locally in VS Code ...
Once you write some code, you can deploy it with the clasp push command. Most of the time I add the -w option...
Read more >Using TypeScript with Google Apps Script and Google Ads ...
Clasp, or Command Line Apps Script Project, is a command line tool that lets you develop Apps Script code locally, in Javascript or ......
Read more >Apps Script with clasp - Sweetcode.io
Use clasp push and clasp open to push the script to the cloud and open it for execution respectively. From the Apps Script...
Read more >Google Apps Scripts, Clasp and Data Studio
Clasp will complain with meaningful error messages if you have forgotten a step, and it will usually provide a link, either to authorize...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In my case, the reason for silent failure where backup files left behind by emacs (#somefile.js#). clasp status returned some useful message, which pointed me to that.
Me too. The same error occurs although the apps script API is enabled.
ADD Now, I updated to clasp@1.5 (before 1.4), it no longer displays the error. However, it takes very long time and not push actually. It display unexpected results as below.