GCP Cloud Function - ERROR fetching storage source during build/deploy

后端 未结 7 1859
广开言路
广开言路 2021-02-19 12:23

Running into problems building deploying functions. When trying to programmatically deploy the function I get the following output in builder logs (ERRORS).


202         


        
7条回答
  •  盖世英雄少女心
    2021-02-19 12:53

    Had the same error message after spending a day troubleshooting I finally found a way.

    I noticed I had node@15 installed on my PC and node@12 for firebase function.

    All I need do was to

    • install node@12 on my PC
    • unlink the previous node (i.e node@15) and
    • link to the newly installed node@12.

    Boom! it uploaded.

提交回复
热议问题