I'm trying to deploy my cloud function firebase CLI, but there is an issue with my functions. I haven't changed any of my firebase cloud function settings. When I try to run firebase deploy --only
functions, I get the following error:
npm ERR! errno -4058 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open 'F:\react\Fullstack-Hoffyevents-react-redux\event\%RESOURCE_DIR%\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR!
C:\Users\wasif\AppData\Roaming\npm-cache_logs\2018-11-07T14_41_19_766Z-debug.logError: functions predeploy error: Command terminated with non-zero exit code4294963238