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

'clasp login' doesn't wait for response #971

Open
rombetjai opened this issue Aug 1, 2023 · 0 comments
Open

'clasp login' doesn't wait for response #971

rombetjai opened this issue Aug 1, 2023 · 0 comments

Comments

@rombetjai
Copy link

Expected Behavior

Send the 'clasp login' command and the console will wait for the browser to respond and the authentication process to complete.

Actual Behavior

I am trying to login with clasp to clone and edit a project in Google Apps Script but I am having a failure.

Previously, on another computer I could login without problem, I sent the clasp login command and it waited for a response from the browser, but now what happens is that I send the clasp login command, it generates the url and opens the browser tab but apparently it doesn't wait for a response. What it finally does is that when confirming the login it redirects to localhost:port but there it does not connect and indicates that the connection has been refused.

I have tried to do it with clasp login --no-localhost but this method is deprecated and blocked by Clasp CLI.

I have checked in the firewall and Node.js Runtime is enabled for private and public networks. So I don't know what can be the problem.

I remain attentive to possible solutions, thanks.

Steps to Reproduce the Problem

  1. npm install -g @google/clasp
  2. clasp login

Specifications

  • Node version (node -v): 18.17.0
  • Version (clasp -v): 2.4.2
  • OS (Mac/Linux/Windows): Windows
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

No branches or pull requests

1 participant