Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Cloud Functions Error: version `GLIBCXX_3.4.21' not found

I recently just deployed a updated function with a very minor change (nothing that could ever cause a crash!). And all of a sudden, I see this crash error in the logs...

Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /user_code/node_modules/firebase-admin/node_modules/grpc/src/node/extension_binary/node-v48-linux-x64-glibc/grpc_node.node)
    at Error (native)
    at Object.Module._extensions..node (module.js:604:18)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/user_code/node_modules/firebase-admin/node_modules/grpc/src/grpc_extension.js:32:13)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/user_code/node_modules/firebase-admin/node_modules/grpc/src/client_interceptors.js:145:12)

UPDATE: Firebase fixed this issue. Thanks for your support!

like image 915
nachshon f Avatar asked May 17 '18 19:05

nachshon f


Video Answer


2 Answers

Investigating an issue with Cloud Functions

Incident began at 2018-05-17 12:05 (all times are US/Pacific)

Check this https://status.firebase.google.com/

like image 128
Agustin Poch Avatar answered Oct 13 '22 10:10

Agustin Poch


If you are still experiencing this issue you can delete and re-deploy the problematic function to the server.

Firebase has updated the status here with that workaround: https://status.firebase.google.com/incident/Functions/18026

It worked for me.

like image 41
David Schmierer Avatar answered Oct 13 '22 10:10

David Schmierer