canvas error or something

I installed an npm that uses canvas to work but when I start my project it gives me this error: 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)
Solution:
try adding a nixpacks.toml file with this in it
[phases.setup]
nixLibs = ["...", "libuuid", "libGL"]
[phases.setup]
nixLibs = ["...", "libuuid", "libGL"]
...
Jump to solution
5 Replies
Percy
Percy17mo ago
Project ID: c9324673-e7e3-4672-8957-73269ed4b6cc
⛧ ayami ʸᵒᵘⁿᵍᵇᵒʸ⛧
c9324673-e7e3-4672-8957-73269ed4b6cc 😿
Solution
Brody
Brody17mo ago
try adding a nixpacks.toml file with this in it
[phases.setup]
nixLibs = ["...", "libuuid", "libGL"]
[phases.setup]
nixLibs = ["...", "libuuid", "libGL"]
⛧ ayami ʸᵒᵘⁿᵍᵇᵒʸ⛧
ok i will srry ok it wrked thx so much
Brody
Brody17mo ago
no problem 🙂
Want results from more Discord servers?
Add your server