gcf-gmail-codelab icon indicating copy to clipboard operation
gcf-gmail-codelab copied to clipboard

Unable to redeploy auth_init or auth_callback - even after making no changes at all

Open hughsheehy opened this issue 4 years ago • 4 comments

Another problem on this lab - probably related to the Node 8 change.

I can deploy the auth_init and auth_callback functions, despite getting a warning about Node 8 being deprecated.

Then, I was getting frustrated because I'd get a failure to deploy when trying to add the callback URL (as per the lab instructions, page 4). So I tried to redeploy with no changes at all. And that failed.

Lots of errors apparently related to secrets and needing GCP_PROJECT set. Since most back end I do is in GO, this is not stuff I know.

hughsheehy avatar Jun 26 '21 17:06 hughsheehy

+1 here are you able to solve the problem?

vmanpro avatar Jul 06 '21 18:07 vmanpro

+1 here are you able to solve the problem?

No. I had other things I needed to do, so stepped away. Would love to go back to it, but not if I have to figure out the steps across several versions of Node.

hughsheehy avatar Jul 06 '21 22:07 hughsheehy

i found the dev loop really clunky and error prone. I just gcloud functions delete and re-deply for more reliable results.

kbroughton avatar Nov 04 '21 21:11 kbroughton

you can try this https://github.com/googlecodelabs/gcf-gmail-codelab/issues/18#issuecomment-1039142000

amurciasu avatar Feb 14 '22 14:02 amurciasu