3

I'm trying to follow the tutorial from here: https://firebase.google.com/docs/functions/get-started

and I'm getting the error HTTP Error: 404, Method not found. I can't find anything online about why this is happening or how to get the logs for this.

I've tried all the fixes from here, Error deploying with firebase on npm --prefix $RESOURCE_DIR run lint and none of them works for me. PS: I'm running this on Cloud Shell.

3
  • Where are you getting this error? Commented Dec 3, 2018 at 13:36
  • "predeploy": [ "npm --prefix \"$RESOURCE_DIR\" run lint", "npm --prefix \"$RESOURCE_DIR\" run build" ] Commented Dec 3, 2018 at 14:18
  • @hkchakladarOn the cloud shell, when I run the command firebase deploy. Commented Dec 4, 2018 at 5:22

1 Answer 1

1

When I had the same error, I resolved it by running firebase login.

Sign up to request clarification or add additional context in comments.

1 Comment

I edited your question a bit to make it clear this was an answer, not a related question. Answers that start off with I had the same error. tend to get flagged as non-answers. If my change was in error, feel free to revert.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.