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
Put the above package.json, index.js and firebase.json into test folder under a simple yarn workspace
/root
/packages/test
/package.json (worksapce package.json)
Run yarn, and cd to packages/test to verify all dependency are installed locally (within the same folder)
Run firebase deploy --only functions.
[REQUIRED] Expected behavior
Function hello been successfully created.
[REQUIRED] Actual behavior
deploy command run successfully without error, but no function deployed.
Now, simply copy the packages/test folder to anywhere outside the workspace root and cd to the new folder immediately run: firebase deploy --only functions. Function hello successfully deployed.