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

libuuid.so.1: cannot open shared object file: No such file or directory #1947

Closed
Vinzerr opened this issue Dec 10, 2021 · 2 comments
Closed

Comments

@Vinzerr
Copy link

Vinzerr commented Dec 10, 2021

Issue or Feature

node:internal/modules/cjs/loader:1183
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: libuuid.so.1: cannot open shared object file: No such file or directory
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at Object.<anonymous> (/home/runner/Guardian/node_modules/canvas/lib/bindings.js:3:18)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
  code: 'ERR_DLOPEN_FAILED'
}
exit status 1

Steps to Reproduce

const Canvas = require('canvas')

Your Environment

  • -- canvas@2.8.0 extraneous
  • -- node v16.7.0 on replit.com ( nix language )
@Vinzerr
Copy link
Author

Vinzerr commented Dec 10, 2021

ISSUE IS SOLVED

I forgot to check if there was the same issue as mine and it was solved, view more information at
Issue # 1893

Solutions was posted by rofrol. comment link
libuuid needs to be available in LD_LIBRARY_PATH.

Probably you need to install some package https://stackoverflow.com/questions/23579681/error-in-rstudio-libuuid-so-1->cannot-open-shared-object-file-no-such-file-or

For nixos this is solution https://discourse.nixos.org/t/node2nix-issues/10762/2

@Vinzerr Vinzerr closed this as completed Dec 10, 2021
@LingleDev
Copy link

I created a template repl to fix this issue.

https://replit.com/@GeekerMans/Canvas-Node-16-Workaround

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

No branches or pull requests

3 participants