google / clasp

🔗 Command Line Apps Script Projects
https://developers.google.com/apps-script/guides/clasp
Apache License 2.0
4.59k stars 428 forks source link

Clasp open --webapp Broken #682

Open grant opened 5 years ago

grant commented 5 years ago

Expected Behavior

clasp open --webapp opens and prints a URL.

Actual Behavior

clasp open --webapp
? Open which deployment?                               @HEAD - AKfycbwk1UxuC3Qq39HREKquqp5XA9cW2YZhSvwEITr8WBe5
Missing required parameters: scriptId
MattiasMartens commented 5 years ago

Hi Grant, I am still experiencing this issue. Tried running yarn global upgrade clasp and then re-opening the terminal window to no avail. Is there anything else I can try here?

grant commented 5 years ago

I think I need to republish clasp. It should work on master though.

dziul commented 5 years ago

using command clasp open --webapp, your real result is : Missing required parameters: scriptId.

therealchjones commented 3 years ago

Works as expected for me when in project directory or when specifying project directory or file with -P as of clasp 2.4.1. Anyone still experiencing this issue, or able to close?