Closed jvanalst closed 2 years ago
(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)
That it actually work without error. Tried it with both a Personal and Enterprise Google Accounts. Both had the same issue.
% clasp login Logging in globally… 🔑 Authorize clasp by visiting this url: https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=... Authorization successful. Default credentials saved to: /Users/vanalsti/.clasprc.json. % clasp clone 1vSgFkRCFRM52k4VL_dQROAUWzmR6DqLRkUkZpD7jvvFYewoXhPuGKzjT ⠙ Cloning files…script.google.com ✖ console.developers.google.com ✖ console.cloud.google.com ✖ drive.google.com ✖ Error: Looks like you are offline. % clasp create foobar script.google.com ✖ console.developers.google.com ✖ console.cloud.google.com ✖ drive.google.com ✖ Error: Looks like you are offline. % clasp login --status script.google.com ✖ console.developers.google.com ✖ console.cloud.google.com ✖ drive.google.com ✖ Error: Looks like you are offline. % clasp login Warning: You seem to already be logged in globally. You have a ~/.clasprc.json Logging in globally… 🔑 Authorize clasp by visiting this url: https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=... Authorization successful. % clasp login --status console.developers.google.com ✖ script.google.com ✖ console.cloud.google.com ✖ drive.google.com ✖ Error: Looks like you are offline.
% clasp login Logging in globally… 🔑 Authorize clasp by visiting this url: https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=... Authorization successful.
Default credentials saved to: /Users/vanalsti/.clasprc.json.
% clasp clone 1vSgFkRCFRM52k4VL_dQROAUWzmR6DqLRkUkZpD7jvvFYewoXhPuGKzjT ⠙ Cloning files…script.google.com ✖ console.developers.google.com ✖ console.cloud.google.com ✖ drive.google.com ✖ Error: Looks like you are offline.
% clasp create foobar script.google.com ✖ console.developers.google.com ✖ console.cloud.google.com ✖ drive.google.com ✖ Error: Looks like you are offline.
% clasp login --status script.google.com ✖ console.developers.google.com ✖ console.cloud.google.com ✖ drive.google.com ✖ Error: Looks like you are offline.
% clasp login Warning: You seem to already be logged in globally. You have a ~/.clasprc.json Logging in globally… 🔑 Authorize clasp by visiting this url: https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=...
Authorization successful.
% clasp login --status console.developers.google.com ✖ script.google.com ✖ console.cloud.google.com ✖ drive.google.com ✖ Error: Looks like you are offline.
node -v
clasp -v
All doesn't work work with Clasp 2.4.1 on Node 14.
Possibly Related: https://github.com/google/clasp/issues/872
Downgraded clasp to 2.3.1 seems to work.
Expected Behavior
That it actually work without error. Tried it with both a Personal and Enterprise Google Accounts. Both had the same issue.
Actual Behavior
Steps to Reproduce the Problem
Specifications
node -v
): v16.14.1clasp -v
): 2.4.1