S-IAF
Join ServerSapphire - Imagine a framework
sapphire-support
i got a bunch of typescript errors
Ffried12/16/2022
look at the picture

Ffried12/16/2022
this my index.ts
import { SapphireClient } from "@sapphire/framework";
import { config } from "dotenv";
config();
const client = new SapphireClient({ intents: ["Guilds"] });
client.login(process.env.TOKEN);
Ffried12/16/2022
when i start my bot i get this error

Ssawako12/16/2022
use djs v13
Ffried12/16/2022
how do i do that
Ssawako12/16/2022
npm install discord.js@v13-lts
Ffried12/16/2022
latest is 13.12.0 i think
Ffried12/16/2022
ok
Ffried12/16/2022
im getting this error now

Ffried12/16/2022

FFavna12/17/2022
Looks like you have some wrong dependency versions still. If this is a new bot, try using the Sapphire CLI to generate it to get the right versions. For example don't have discord-api-types higher than 0.33.5
KKrish12/17/2022
Seems like dapi types error