Dragonwaap
Dragonwaap
SIASapphire - Imagine a framework
Created by Dragonwaap on 9/10/2023 in #sapphire-support
Using bun with @sapphire/framework
Hello, I'm trying to get my discord bot to run using bun, but when I try running my code I get theses errors :
Error when loading 'undefined/CoreGuildNewsThreadChannel.js':

error: Cannot find module "file:///undefined/CoreGuildNewsThreadChannel.js?d=1694372049721&name=CoreGuildNewsThreadChannel&extension=.js" from "/home/user/bot/node_modules/@sapphire/pieces/dist/lib/internal/internal.js"

Error when loading 'undefined/CoreMember.js':

error: Cannot find module "file:///undefined/CoreMember.js?d=1694372049722&name=CoreMember&extension=.js" from "/home/user/bot/node_modules/@sapphire/pieces/dist/lib/internal/internal.js"

Error when loading 'undefined/CoreEmoji.js':

error: Cannot find module "file:///undefined/CoreEmoji.js?d=1694372049722&name=CoreEmoji&extension=.js" from "/home/user/bot/node_modules/@sapphire/pieces/dist/lib/internal/internal.js"

Error when loading 'undefined/CoreGuildVoiceChannel.js':
Error when loading 'undefined/CoreGuildNewsThreadChannel.js':

error: Cannot find module "file:///undefined/CoreGuildNewsThreadChannel.js?d=1694372049721&name=CoreGuildNewsThreadChannel&extension=.js" from "/home/user/bot/node_modules/@sapphire/pieces/dist/lib/internal/internal.js"

Error when loading 'undefined/CoreMember.js':

error: Cannot find module "file:///undefined/CoreMember.js?d=1694372049722&name=CoreMember&extension=.js" from "/home/user/bot/node_modules/@sapphire/pieces/dist/lib/internal/internal.js"

Error when loading 'undefined/CoreEmoji.js':

error: Cannot find module "file:///undefined/CoreEmoji.js?d=1694372049722&name=CoreEmoji&extension=.js" from "/home/user/bot/node_modules/@sapphire/pieces/dist/lib/internal/internal.js"

Error when loading 'undefined/CoreGuildVoiceChannel.js':
And a bunch of other module that couldn't be found all in @sapphire/pieces/dist/lib/internal any help would be appreciated !
4 replies