TypeError: Cannot read properties of undefined (reading 'languages')

when using bun, is bun supported?
Solution:
sorry, I needed to reinstate node_modules after moving to bun
Jump to solution
2 Replies
ArikSquad
ArikSquadOP2w ago
and when running dev (straight bun run) i get these:
Error when loading 'F:\projects\ensavejs\dist\commands\music\music.js': 52 | yield value;
53 | yielded = true;
54 | }
55 | }
56 | if (!yielded) {
57 | throw new MissingExportsError(file.path);
^
error: A compatible class export was not found. [F:\projects\ensavejs\dist\commands\music\music.js]
type: "EMPTY_MODULE",
path: "F:\\projects\\ensavejs\\dist\\commands\\music\\music.js",

at load (F:\projects\ensavejs\node_modules\@sapphire\pieces\dist\esm\lib\strategies\LoaderStrategy.mjs:57:13)
Error when loading 'F:\projects\ensavejs\dist\commands\music\music.js': 52 | yield value;
53 | yielded = true;
54 | }
55 | }
56 | if (!yielded) {
57 | throw new MissingExportsError(file.path);
^
error: A compatible class export was not found. [F:\projects\ensavejs\dist\commands\music\music.js]
type: "EMPTY_MODULE",
path: "F:\\projects\\ensavejs\\dist\\commands\\music\\music.js",

at load (F:\projects\ensavejs\node_modules\@sapphire\pieces\dist\esm\lib\strategies\LoaderStrategy.mjs:57:13)
Solution
ArikSquad
ArikSquad2w ago
sorry, I needed to reinstate node_modules after moving to bun

Did you find this page helpful?