Skip to content

Error: Looks like you offline #934

@jvanalst

Description

@jvanalst

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions