Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues when running this library on AWS lambda #72

Open
zgheibali opened this issue Mar 9, 2022 · 1 comment
Open

Issues when running this library on AWS lambda #72

zgheibali opened this issue Mar 9, 2022 · 1 comment

Comments

@zgheibali
Copy link

I'm not able to run the library via AWS lambda for some reason
seems that this issue is related to canvas

the error that I get when invoking the lambda:

{
  "errorType": "Error",
  "errorMessage": "libuuid.so.1: cannot open shared object file: No such file or directory",
  "trace": [
    "Error: libuuid.so.1: cannot open shared object file: No such file or directory",
    "    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)",
    "    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:93:18)",
    "    at Object.<anonymous> (/var/task/node_modules/canvas/lib/bindings.js:3:18)",
    "    at Module._compile (internal/modules/cjs/loader.js:1085:14)",
    "    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)",
    "    at Module.load (internal/modules/cjs/loader.js:950:32)",
    "    at Function.Module._load (internal/modules/cjs/loader.js:790:12)"
  ]
}

Any suggestion on what could be the issue? I tried using lambda layer but it caused a different kind of error.

Thank you in advance

@venkata-kishore
Copy link

i think you should use the node library for this purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants