the error says Error: Cannot find module 'dotenv' and the code is
const { token } = process.env;
const { Client, Collection, GatewayIntentBits } = require("discord.js");
const fs = require("fs");
const client = new Client({ intents: GatewayIntentBits.Guilds });
client.commands = new Collection();
client.commandArray = [];
const functionFolders = fs.readdirSync(`./src/functions`);
for (const folder of functionFolders) {
const functionFiles = fs
.readdirSync(`./src/function${folder}`)
.filter((file) => file.endsWith(".js"));
for (const file of functionFiles)
require(`./functions${folder}/${file}`)(client);
}
client.handleEvents();
client.handleCommands();
client.login(token);```