Not able to push files using clasp push command

1k Views Asked by At

I am able to get the files using clasp pull command but not able to update the files using clasp push command. It says "No files to push". When I run command clasp status then it shows all of my project files in "Ignore files". Previously it was working completely and the problem occurred yesterday when I changed my laptop. I also tried making .claspignore file and it also did not work.

For reference, please see the screenshot.Photo

Please help.

1

There are 1 best solutions below

0
On

I think for me I found the issue after using trying

clasp version "YOUR_VERSION_STRING". 

I got a console message to enable API access. Once I enabled that I was able to make pushes. It's funny because I was able to clone and pull just fine.

So this is the Settings URL and then make sure that "Google Apps Script API Access" is on.