79706764

Date: 2025-07-18 21:32:58
Score: 2
Natty:
Report link

Here’s what actually fixed it:

Run npm config set legacy-peer-deps false in the terminal.

Delete node_modules and package-lock.json.

In some cases, you may also need to delete functions the firebase and set it up again.

Run firebase deploy --only functions.

Finally, don’t forget to run npm install inside the functions folder before deploying again.

See the reference where I discovered this: https://stackoverflow.com/a/77823349/23242867

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: João Pedro