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 !
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
S-IaF
Sapphire - Imagine a Framework
Sapphire is a next-gen object-oriented Discord.js bot framework.