Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Looks like you offline #934

Closed
jvanalst opened this issue Aug 24, 2022 · 3 comments · Fixed by #936
Closed

Error: Looks like you offline #934

jvanalst opened this issue Aug 24, 2022 · 3 comments · Fixed by #936

Comments

@jvanalst
Copy link

jvanalst commented Aug 24, 2022

(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)

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

% 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.

Steps to Reproduce the Problem

  1. clasp login
  2. clasp create/clone/etc.

Specifications

  • Node version (node -v): v16.14.1
  • Version (clasp -v): 2.4.1
  • OS (Mac/Linux/Windows): Mac 12.5
@jvanalst
Copy link
Author

All doesn't work work with Clasp 2.4.1 on Node 14.

@jvanalst
Copy link
Author

Possibly Related: #872

@jvanalst
Copy link
Author

Downgraded clasp to 2.3.1 seems to work.

@grant grant mentioned this issue Sep 1, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant