Package.json help

its possible to run 2x package.json ?

Yes in different directories sure, but why would you need that?

i want to host 2 discord bots but i dont know how to run 1 more package.json in other files in same glitch account can u help me please

Can’t you just make two different projects? Anyhow you don’t need two different package.json files for that, you just need to create two different clients in the index.js file.

Example:

const { Client } = require("discord.js");

const client1 = new Client();
const client2 = new Client();

client1.login("token1");
client2.login("token2");
1 Like

oh sorry thank u very much <3

why file not showing when i clone it with git clone
when i use cd filename in cmd
cmd conencting in the file but i dont see the file

Run pnpm install dotenv in the terminal.