Jesse - why am i getting this error?

why am i getting this error?
10 Replies
Ben
Ben3y 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
JesseOP3y ago
just installed it using npm install discord.js so whatever latest release is i suppose suppose
Ben
Ben3y ago
So yes your on 14. You need to use version 13. Sapphire doesn't support djs 14 yet.
Jesse
JesseOP3y ago
how would i go about doing that? is there a flag i can use in the command to install it?
Ben
Ben3y ago
npm i discord.js@v13-lts
Jesse
JesseOP3y ago
ahh alright thank you
Ben
Ben3y ago
np Also dont forget to use answer overflow to mark the answer so others can find it in the future.
Favna
Favna3y 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
Ben3y ago
oof. I'll try to remember that.
24
243y ago
Wow yarn sucks
Want results from more Discord servers?
Add your server