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!
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/
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With