-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error: libuuid.so.1: cannot open shared object file: No such file or directory #1893
Comments
solved [EDIT] same solution i used before: |
what is the solution? |
whats the solution |
libuuid needs to be available in 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 |
I'm getting the same error on Repl Node.JS Version 16 using Linux. And none of the solutions worked for me |
I was getting the same error, while using node-canvas in repl.it and all you need is to downgrade the node version to 16.10.0 |
whats solution :( |
@Edemarz @APOORVBG
|
|
well it didn't work because i followed the steps and it spammed the same thing over and over and over again |
Are you sure you did it correctly? Maybe try rereading the steps and following the exact order. |
In case other's make the same mistake I did while following C00lVansh's instructions: Make sure { pkgs }: {
deps = [
pkgs.nodejs-18_x
pkgs.nodePackages.typescript-language-server
pkgs.yarn
pkgs.replitPackages.jest
pkgs.libuuid
];
env = { LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [pkgs.libuuid]; };
} |
Where is this file?? I don't see it |
None of the tips above worked for me in NixOS, so I found my own solution: Edit
Then: Unfortunately, to take full effect in my env test only after a reboot. |
Still broken for me with Nix. I'm using devbox. @demirdegerli @C00LVansh if you have any ideas. node:internal/modules/cjs/loader:1473
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: libuuid.so.1: cannot open shared object file: No such file or directory
at Module._extensions..node (node:internal/modules/cjs/loader:1473:18)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at require (node:internal/modules/esm/translators:248:28)
at Object.<anonymous> (.../node_modules/canvas/lib/bindings.js:3:18)
at loadCJSModule (node:internal/modules/esm/translators:270:3)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:305:7)
at ModuleJob.runSync (node:internal/modules/esm/module_job:209:17)
at require (node:internal/modules/esm/translators:255:9)
at Object.<anonymous> (.../node_modules/canvas/lib/canvas.js:9:18) {
code: 'ERR_DLOPEN_FAILED'
} devbox.json {
"$schema": "https://raw.githubusercontent.com/jetpack-io/devbox/0.10.1/.schema/devbox.schema.json",
"packages": [
"nodejs-slim@20.11.1",
"libuuid@latest"
],
"env": {
"LD_LIBRARY_PATH": "pkgs.lib.makeLibraryPath [pkgs.libuuid]"
},
"shell": {
"init_hook": ["echo 'Welcome to devbox!' > /dev/null"],
"scripts": {
"test": ["echo \"Error: no test specified\" && exit 1"]
}
}
} |
Thankuuuuuuuuuuuuu very much for your solution i v been facing this from too many days thanks u fixed it ❤❤ |
Error
Environment
The text was updated successfully, but these errors were encountered: