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

23 messages · Page 1 of 1 (latest)

odd rootBOT
#

Project ID: N/A

#

Yes, there is a redeploy button available to those in the beta. You can also click on the 3 vertical dots next to the projects "view log" button and it should pull up an option for you to deploy.

shell hamlet
#

that didn't work

dusk notch
#

Your app will deploy if you push a new commit

shell hamlet
#

like i get an error so need to commit again

dusk notch
#

That’s generally how these things work. If you get an error push a commit to fix it

#

If you want to avoid building on Railway every time, make sure your app runs locally first

dusk notch
dusk notch
#

completely depends on the language you’re using, for my python projects I just run my main.py file

shell hamlet
#

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

#

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

at Object.Module._extensions..node (node:internal/modules/cjs/loader:1239:18)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/app/node_modules/canvas/lib/bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12) {
code: 'ERR_DLOPEN_FAILED'
}
#

how to fix this @dusk notch

#

Error libuuid.so.1 cannot open shared object file No such file or directory

shell hamlet
#

@lime goblet no idea what you mean by that reaction

shell hamlet
#

..

shell hamlet
#

Full error:

node:internal/modules/cjs/loader:1239
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:1239:18)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/app/node_modules/canvas/lib/bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12) {
code: 'ERR_DLOPEN_FAILED'
}

tried changing the node version with NIXPACKS_NODE_VERSION to 16.x
but don't seem to really change it cause logging process.version give me v16.18.1.

my account name is Stroos

#

for nixpackage i added a file that i find in google that can solve the error

#
[phases.setup]
nixPkgs = ["nodejs-16_x"]

[phase.name]
aptPkgs = [
    "libuuid",
]

[phases.install]
cmds = ["npm install i"]

[start]
cmd = "npm run start"
#

and that's all if any something i should share then please tell me. Thanks <3

#

btw it give me SUCCESS then CRASHED