(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)
Expected Behavior
Use ~/.clasprc.json by default
Actual Behavior
Error message when running clasp run:
(ENOENT) Error: ENOENT: no such file or directory, open '[localdir]/.clasprc.json'
Steps to Reproduce the Problem
authenticate clasp, resulting in a ~/.clasprc.json file
from some random directory, clone a project using clasp clone
in that same directory, run clasp run function
clasp does connect to console.developers.google.com but then looks for a local .clasprc.json and fails.
note that specifying the path to the ~/.clasprc.json file doesn't work either. Specifying only -A ~ results in authentication failing ("Could not read API credentials. Are you logged in globally?")
Expected Behavior
Use ~/.clasprc.json by default
Actual Behavior
Error message when running
clasp run
: (ENOENT) Error: ENOENT: no such file or directory, open '[localdir]/.clasprc.json'Steps to Reproduce the Problem
~/.clasprc.json
fileclasp clone
clasp run function
~/.clasprc.json
file doesn't work either. Specifying only-A ~
results in authentication failing ("Could not read API credentials. Are you logged in globally?")Specifications
node -v
): v17.5.0clasp -v
): 2.4.1