You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever the 'firebase-tools' package is required from the cloud functions context the following error is thrown during the deployment: Error: ENOENT: no such file or directory, mkdir '/www-data-home/.config/configstore'
However, if testing locally with the firebase function emulator the same code works without problems.
As an update: A Google engineer suggested me to downgrade the Node engine for functions to v 16 instead of 18 so by now everything works well but still a correction/upgrade is needed. Is anybody taking care of this?
Activity
Hibrix-net commentedon Feb 20, 2023
As an update: A Google engineer suggested me to downgrade the Node engine for functions to v 16 instead of 18 so by now everything works well but still a correction/upgrade is needed. Is anybody taking care of this?
lboatto commentedon Feb 28, 2023
I got the same error trying to deploy any cloud functions using Node.js 18.
Using Node.js 16 fixed the problem.
jasonc624 commentedon Apr 13, 2023
"firebase-tools": "^11.18.0", and Node 16 but still doesnt work for me.