2 years ago
Hi, I'm getting an error relating to the libraries "node-canvas" is using (pixman). I'm using Bun and the single executable feature to compile my code.
The error is:
149 | <:icons_dgreen:1274057371626377266> We will ask you to stop
150 | <:icons_dyellow:1274056601065492511> You will get a warn
151 | <:icons_Wrong:1274056876144721962> You will be banned from the server for 1 week
152 | <:icons_ban:1274056903068094689> Permanent Ban
153 |
154 | After all, be nice <:mHug:1274056918284894313>`).setColor("#6246be")]}},Lo=[];for(let H of Object.keys(EZ))Lo.push({name:H,value:H});r2({data:new bH.SlashCommandBuilder().setName("embed").setDescription("Sends an embed by preset or json").setDefaultMemberPermissions(bH.PermissionFlagsBits.Administrator).addSubcommand((H)=>H.setName("json").setDescription("Send an embed from JSON").addStringOption(()=>.setName("embed").setRequired(!0).setDescription("JSON of the embed"))).addSubcommand((H)=>H.setName("preset").setDescription("Send an embed from a preset").addStringOption(()=>_.setName("embed").setDescription("Preset embed to send").setRequired(!0).addChoices(…Lo))),async execute(H){const _=H.options.getString("embed");if(!){H.reply(bH.blockQuote("Couldnt find the 'embed' string option."));return}switch(H.options.getSubcommand()){case"json":{const L=await H.channel?.send({embeds:[JSON.parse()]});H.reply({content:L?.url,ephemeral:!0});break}case"preset":{const L=Object.keys(EZ).find((N)=>N.toLowerCa
TypeError: libpixman-1.so.0: cannot open shared object file: No such file or directory
at /$bunfs/root/ceramique:154:8989
at /$bunfs/root/ceramique:2:685
at /$bunfs/root/ceramique:154:9183
at /$bunfs/root/ceramique:2:685
at /$bunfs/root/ceramique:196:12
at /$bunfs/root/ceramique:2:685
at /$bunfs/root/ceramique:204:3997
at /$bunfs/root/ceramique:2:685
at /$bunfs/root/ceramique:204:16731
at /$bunfs/root/ceramique:2:685
at /$bunfs/root/ceramique:204:17011
at /$bunfs/root/ceramique:2:814
at /$bunfs/root/ceramique:205:4477
at /$bunfs/root/ceramique:2:814
at /$bunfs/root/ceramique:205:6662
at /$bunfs/root/ceramique:2:814
at /$bunfs/root/ceramique:205:7730And the repo: https://github.com/Communivents/ceramique
> ⓘ Deployment information is only viewable by project members and Railway employees.
0 Replies