Closed mihirgarg01 closed 4 years ago
There was an NPM outage yesterday, it might be related to that. Can you provide the error log? Status
There was an NPM outage yesterday, it might be related to that. Can you provide the error log? Status
Yes Sure!: npm WARN deprecated node-opus@0.3.3: This project is unmaintained. See @discordjs/opus for an alternative. npm WARN deprecated ffmpeg-static@2.7.0: ffmpeg-static@2 won't be updated with new ffmpeg binaries anymore. Use ffmpeg-static@latest. npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno ENOENT npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/discordjs/discord.js.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shai\AppData\Roaming\npm-cache_logs\2020-08-07T06_00_19_013Z-debug.log
When I do node . The err msg is this: internal/modules/cjs/loader.js:969 throw err; ^
Error: Cannot find module 'discord.js-commando' Require stack:
All you need to do is follow the instructions. Clone the repo and hit 'npm i' that's it. No need to install the dependencies individually
How do you clone the repository? I haven’t coded in a while....
@mihirgarg01 git clone https://github.com/galnir/Master-Bot.git
in console
Clone the repo and follow the instructions in the readme. If that doesn't work open a new issue :)
Do not open an issue if you simply "copied" code over to your bot/another bot. This is absolutely not recommended and will cause bugs. Also do not open an issue if you modified code and added features and now it's not working right. This is because I can't figure it out and don't have the time to read your code and find out what you did wrong.
Describe the bug When I do npm install discordjs/discord.js discordjs/Commando ffmpeg-static node-opus simple-youtube-api ytdl-core, It gives me a ton of warnings and then at the end like 20 errs. It wont let me use the Commando library without importing this so I am kind of stuck.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should import all the libraries.
Screenshots https://imgur.com/v6WKuVC https://imgur.com/v8yN9dR
Desktop (please complete the following information):
Additional context Luv the help 💖