Firebase deploy functions with Sharp library fails in Google Cloud Build
问题 After migrating to Google Cloud Build from Bitbucket Pipelines the Firebase deployment is failing. The setup was deploying successfully both on Bitbucket Pipelines and locally. No further explanation is given other than error below. I have comment parts of the code to to realize that "const sharp = require('sharp')" was one command that was making the build to fail. But there is no apparent reason why "firebase deploy" fails with "require('sharp')" and I have to way to tackle this. Firebase