Package not found error in production, although function works in development environment
This means the packages aren't installed within the functions folder. In the local debugging environment, this issue doesn't occur because packages may be available globally. Please make sure packages are present within the respective functions folder.