Jesse - why am i getting this error?

why am i getting this error?
10 Replies
Ben
Ben2y ago
@Jesse send the full error in this thread. You don't need to make a new one Are you using discord.js 14?
Jesse
Jesse2y ago
just installed it using npm install discord.js so whatever latest release is i suppose suppose
Ben
Ben2y ago
So yes your on 14. You need to use version 13. Sapphire doesn't support djs 14 yet.
Jesse
Jesse2y ago
how would i go about doing that? is there a flag i can use in the command to install it?
Ben
Ben2y ago
npm i discord.js@v13-lts
Jesse
Jesse2y ago
ahh alright thank you
Ben
Ben2y ago
np Also dont forget to use answer overflow to mark the answer so others can find it in the future.
Favna
Favna2y ago
Fyi @13.x is better because yarn v3 doesnt support v13-lts https://github.com/yarnpkg/berry/issues/4825
GitHub
[Bug?]: Attempting to add package with specific dist tag pattern(s)...
Self-service I'd be willing to implement a fix Describe the bug Recently it has come to my attention that if a package's dist-tag has a specific format, I.e. the regex format of /v...
Ben
Ben2y ago
oof. I'll try to remember that.
24
242y ago
Wow yarn sucks