#I don't know how to fix this
29 messages · Page 1 of 1 (latest)
It's a dependency conflict, try with --legacy-peer-deps flag on npm i dotenv
Keep the same friend, little by little I am getting unmotivated with the fact that I can fix it 😦
@stray mural
npm i dotenv --legacy-peer-deps
Ok, the command works but now I don't know how to start the bot because before I started it with "npm ." And now something changed with the versions or something like that.
Post the file three
as?
w/e
but still I don't really know what's up with this.
Should be something dependency related, so try using a fresh discordjs install
and how to install the new discordjs?
npm install discord.js, i believe it will install the latest package
I already put the command that you gave me, now I put the "npm ." and the bot does not turn on, I don't know if in these versions there is another way to turn on the bot.
Do you run windows or Linux?
Cause I might know the solution to windows. I had an issue like this and I did something to fix it.. you'll have to give me a bit to figure out exactly what I did but I can show you what I did. At least for windows
Yes, I use windows, and send me the solution when you can, and thanks.
did you try typing in nodemon? That is also used to turn on the bot, or 'node <script.js>'
Because if you're typing in npm, and it is not giving a 'unknown command' error then the solution i was thinking of might not work. If 'nodemon' is showing up as a unknown command, then my solution might work
In manifest do you have an entrypoint set?
I would like to write a program in Python that runs on a mobile phone. Can anyone tell me if it is possible on Android, iPhone or both and if so is one easier or harder?
The command does not work for me, neither of them, sorry for answering too late, I had some problems.
@shut kraken
What is exactly going on again? I forgot lol
I believe you can, you just have to do some dependacy type stuffs for it. You can port it through, or have like an IDE that can do it. But learning the languages that iOS and Android uses can also be fun. (iOS uses Swift and Android uses Java/Koltin)
It was because I had an error with something I wrote and then I fixed it but now I don't know how to turn on the bot because I downloaded versions and stuff
how i normally turn on my bot is by opening power shell, setting the policy execution session set to bypass using this command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
and then switching to the directory of the project by running a command like this:
cd /path/to/project/
at least where the js file is located
Then I run the js file by typing in ./index.js
which than turns on the bot
see if that simullar approach works for you