Closed andymelt closed 2 years ago
Same on an intel macbook
Same here (#909)
Do you still get this issue? I had same and tried downgrade to 2.4.1 -> 2.3.0, It works well for now.
Node version: 16.14.2 OS: Mac 12.3.1 (M1 2020 MBP)
I had same and tried downgrade to 2.4.1 -> 2.3.0, It works well for now.
Downgrading to 2.3.0 worked for me too.
Haven't touched clasp in a month or so, and had zero issues before (same machine, did not upgrade clasp in that time). For me, it's not random as described in the original post. Happens consistently about 30 seconds after starting (clasp push --watch
).
Mac 12.3.1 (M1Max 2021 MBP)
➜ ~ npm -v
8.3.1
➜ ~ node -v
v16.14.0
Same issue here, the onCancel
error appear on every sub command. Feeling annoyed.
npm -v
8.8.0
node -v
v18.0.0
Help me please
PS E:\Clasp Google Script> clasp push
PS E:\Clasp Google Script> clasp push drive.google.com ✖ Error: Looks like you are offline.
No valid E:\Clasp Google Script.clasp.json project file. You may need to create
or clone
a project first.
No valid E:\Clasp Google Script.clasp.json project file. You may need to create
or clone
a project first.
PS E:\Clasp Google Script> clasp push -w
console.cloud.google.com ✖
drive.google.com ✖
Error: Looks like you are offline.
Expected Behavior
I would expect
clasp push -w
to sit indefinitely without crashing and dumping crash information.Actual Behavior
After random amounts of time —sometimes it happens within minutes after just a couple of pushes and sometimes it will run for hours without issue— clasp will crash and dump information about the cause. Here is an example of the output after the crash:
I'm new to all of this stuff. This is the only project I've got, so far. The code is TypeScript and I'm editing it in Visual Studio Code. Pushing the code works great and it runs well up on script.google.com. When clasp is up and watching the project folder, it works very well. It just doesn't stay up and running (watching).
Steps to Reproduce the Problem
clasp push -w
in a project folder.Specifications
This is running on an 2021 M1 MacBook Pro with 64 GB of RAM, for whatever that's worth.