help me, how to fix it?

const canvacord = require("canvacord")

client.on("guildMemberAdd", async member => {
  if(member.guild.id !== "988334227735076874") return;
  const welcomeCard = new canvacord.Welcomer()
  .setUsername(member.user.username)
  .setDiscriminator(member.user.discriminator)
  .setAvatar(member.user.displayAvatarURL({format: "png"}))
  .setColor("title", "#ff121e")
  .setColor("username-box", "#ffce00")
  .setColor("discriminatior-box", "#ff7600")
  .setColor("message-box", "ff121e")
  .setColor("border", "#ff121e")
  .setColor("avatar", "ff7600")
  .setBackground("https://cdn.pixabay.com/photo/2018/08/14/13/23/ocean-3605547__340.jpg")
  .setMemberCount(member.guild.memberCount)
  let attachment = new Discord.MessageAttachment(await welcomeCard.build(), "welcome.png")
  member.guild.channels.cache.get("988334228368404511").send(member.user.toString(), attachment)
  
})
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:102:18)
    at Object.<anonymous> (/home/runner/thx/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 some point I think you need to break free of FCC. This is so outside what we do and specific that I would look elsewhere. I’m not saying there is anything wrong with asking here, just that it would not be the best place to start.

If I were working on a project and got this error, the first thing I would do is google the error “Error: libuuid.so.1: cannot open shared object file: No such file or directory”. When I do that, I see several entries.

That is where I would start. That is what developers do when they have an issue.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.