Reputation: 71
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.
Please help.
Upvotes: 3
Views: 1348
Reputation: 18707
In my case clasp pull
sroped woring with Node V20 (Windows)
Had to unstall mvm and downgrade node to V18
Download nvm-windows
: Go to the nvm-windows repository and download the latest nvm-setup.exe
file from the Releases section.
Run PowerShell as an administer to run 2 commands:
nvm install 18
nvm use 18
clasp pull
againUpvotes: 0
Reputation: 993
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.
Upvotes: 2