question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

clasp push appsscript error even thought the file exists

See original GitHub issue

Hi

Copied over my project files to a new directory. Entered the clasp push cmd, and received the following error:

$ clasp push
Push failed. Errors:
Project contents must include a manifest file named appsscript.

clasp pull worked correctly.

$ clasp pull
Cloned 2 files.
└─ Code.js
└─ appsscript.json

Any ideas here?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
nameluscommented, Apr 4, 2018

Found the issue. My claspignore file had

appscript.json

not

appsscript.json

0reactions
nameluscommented, Apr 4, 2018

I’ll take that under advisement for next time.

Appreciate your time and help! Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where `clasp` puts `.gs` files? Troubleshooting compiler errors ...
Workaround: Compile the typescript file, say Code.ts , into javascript yourself using tsc . Then validate the resulting local Code.js ...
Read more >
clasp - The Apps Script CLI - Google Codelabs
The Apps Script CLI, or clasp , is a tool that lets you to create, edit, and deploy Apps Script projects locally.
Read more >
AppsScriptPulse - The latest from the Google Apps Script and ...
How to fix Apps Script file loading order and defintion visibility problems with an Exports object. It's good practice to keep class and...
Read more >
Troubleshooting | Apps Script - Google Developers
When your script encounters an error, an error message is displayed. The message is accompanied by a line number used for troubleshooting.
Read more >
Taking Away the Pain From Unit Testing in Google Apps Script
Then, I run clasp push -w , which syncs my code to the server every time I save a local file. To stop...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found