How to use a private npm registry with Firebase/Google Cloud Functions I recently ran into issues trying to use a private npm package hosted on Github packages within a Firebase Cloud Function. This post offers some quick insights. Some quick notes Firebase/GCP does not allow the exclusive use of a private registry for every npm package for Cloud Functions. Each registry defined in the .npmrc file must include a scope.