Open saito-ya opened 4 years ago
@saito-ya can you test with the #791 unofficial release?
npm uninstall -g @google/clasp && npm install -g forked-clasp
clasp --version
# should be 2.4.0 or more
Intended behavior to require an existing project. --creds is really only used to set up auth for the run
command and it does some other things in the associated GCP project.
Since it's a bit more specialized than the login command implies, may revisit this in 3.0 and break it out to a separate command to configure the run command.
Expected Behavior
Success
clasp login --creds creds.json
and it is able to log in with my own credential.Actual Behavior
Run
clasp login --creds creds.json
and get the following error message.Steps to Reproduce the Problem
npm i clasp -g
and install clasp globallyclasp login --creds path_to_credential.json
Specifications
node -v
): v12.13.0clasp -v
): 2.3.0