In discord.js v14, the Intents import does not exist. You instead, need to use GatewayIntentBits when declaring the intents in the client. An example would be something like this:
xxxxxxxxxx
const { Client, GatewayIntentBits } = require('discord.js')
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
// ...
]
})