Error [UNLOADED_PIECE]: The piece 'CoreReady' does not exist.

Any idea about this error? My sapphire deps:
No description
13 Replies
yuki
yukiOP15mo ago
full error stack:
No description
yuki
yukiOP15mo ago
im not sure why the command registries initialized twice tho...
Favna
Favna15mo ago
are you using pnpm or bun by any chance?
yuki
yukiOP15mo ago
i used npm
Favna
Favna15mo ago
in that case can you zip up your code or put it on a github repository? Otherwise it'll be hard to say what the issue is.
yuki
yukiOP15mo ago
sadly its private bot, does deps list helps you or even the dockerfile
Favna
Favna15mo ago
It doesn't give enough info tbh. You can make the GH repo private and invite me or send the zip in a dm
yuki
yukiOP15mo ago
I found the issue, it was because old sapphire pieces doing with my private dependencies I had to bump it to latest and it worked now
Favna
Favna15mo ago
You shouldn't install pieces manually anyway. Let it resolve the transitive dependency instead. There is no reason to add the dependency yourself.
yuki
yukiOP15mo ago
i need it for custom stores
Favna
Favna15mo ago
You don't because framework depends on it so you can rely on the transitive dependency. It will still be installed. Transitive dependency = dependency of dependency
yuki
yukiOP15mo ago
oh yeah i can install the framework instead though
Favna
Favna15mo ago
You already have framework as a dependency as you would when using sapphire...
Want results from more Discord servers?
Add your server