clasp icon indicating copy to clipboard operation
clasp copied to clipboard

clasp push hangs if .claspignore file is present

Open dandv opened this issue 1 year ago • 2 comments

This is odd given the basic level of functionality/breakage, but clasp push, which normally takes 5-10 seconds, hangs for over a minute if .claspignore is present. Whether it's empty, or it contains one line denoting a particular file (e.g. local-stuff.js, a file that does exist), the behavior is the same.

Expected Behavior

clasp push works fine:

$ ./node_modules/.bin/clasp push
⠋ Pushing files…
└─ /home/dandv/...
[...]
Pushed 10 files.

Actual Behavior

clasp push freezes/hangs:

$ ./node_modules/.bin/clasp push
⠹ Pushing files…





^C^C^C^C^C^C^C^C
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C
⠸ Pushing files…

The ASCII spinner freezes for a while, then resumes spinning. I've run out of patience after 90+ seconds.

Steps to Reproduce the Problem

  1. Create file .claspignore, even empty.
  2. Run ./node_modules/.bin/clasp push

Specifications

  • Node version (node -v): v18.18.0
  • Version (clasp -v): 2.4.2
  • OS (Mac/Linux/Windows): Fedora 38

dandv avatar Oct 26 '23 15:10 dandv

@dandv Hi, I've tried just now. It's working for me as expected. Anyways, is your issue fixed?

iRupam avatar Nov 18 '23 12:11 iRupam