| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you, Erik!
Sorry, something went wrong.
|
For anyone who is experiencing broken firebase-admin, edit your lock files to fix it: "farmhash": "^3.3.0" -> "farmhash": "^3.3.1". A new firebase-admin will be much appreciated. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Discussion
Version 12.1.0 of the Admin SDK added a dependency on a package called farmhash. This package has a dev dependency on python via node-gyp. The node-gyp package on older versions of Node looks for a binary called python. This results in npm install of the Admin SDK failing if it can't find a binary with that name ("env: python: No such file or directory").
Original error report: lovell/farmhash#47 (comment)
Fortunately, the owner of the farmhash package quickly added a prebuilt binary and released a version 3.3.1: lovell/farmhash#41
So, this PR updates the Admin SDK's package-lock.json to use farmhash version 3.3.1.
Folks can workaround this issue in the meantime by installing Python or aliasing an existing binary.
Testing
Steps to repro original issue:
With this change:
API Changes
None