Closed webdevabhi closed 8 months ago
Getting similar error when deploying firebase functions using github actions. Here's the error.
Function failed on loading user code. This is likely due to a bug in the user code. Error message: Provided module can't be loaded.
Is there a syntax error in your code?
Detailed stack trace: Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /workspace/node_modules/node-libcurl/lib/binding/node_libcurl.node)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:11[44]
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object.
using v2.3.4 fixed it for me
This error message means you have to build node-libcurl from source for your OS, instructions on how to do this are available in the README.
while deploying my app using docker to ubuntu server. Getting error like: