Google Cloud Functions (Node.js) Install Private Modules

March 9, 2020
Fontawesome Pro

If you have installed Fontawesome Pro, check ~/.npmrc.


Goto your firebase project directory, and copy the content of ~/.npmrc to functions/.npmrc.

cd functions
cat  ~/.npmrc > .npmrc

Run deployment.

firebase deploy


firebase deploy --only functions:FUNCTION_NAME


This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.