SudhanPlayz / Discord-MusicBot

An advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support!
https://musicbot.darrenofficial.com
Other
2.99k stars 2.89k forks source link

Starting Error #1323

Open realshavkat opened 1 month ago

realshavkat commented 1 month ago

Please describe the problem you are having in as much detail as possible:

When i start the server, it give me a error (i already try to delete node_modules and it doesn't work)

The error:

> discord-musicbot@4.1.2 prepare
> husky install
fatal: not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

up to date, audited 314 packages in 1s

35 packages are looking for funding
  run `npm fund` for details

23 vulnerabilities (8 moderate, 12 high, 3 critical)
To address issues that do not require attention, run:
  npm audit fix
To address all issues possible (including breaking changes), run:
  npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
(node:42) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
28:8:2024 - 15:15 | Info: Web Server has been started
28:8:2024 - 15:15 | Info: Command Loaded: bassboost
28:8:2024 - 15:15 | Info: Command Loaded: bump
28:8:2024 - 15:15 | Info: Command Loaded: clear
28:8:2024 - 15:15 | Info: Command Loaded: config
28:8:2024 - 15:15 | Info: Command Loaded: disconnect
28:8:2024 - 15:15 | Info: Command Loaded: grab
28:8:2024 - 15:15 | Info: Command Loaded: help
28:8:2024 - 15:15 | Info: Command Loaded: invite
28:8:2024 - 15:15 | Info: Command Loaded: loop
28:8:2024 - 15:15 | Info: Command Loaded: loopqueue
28:8:2024 - 15:15 | Info: Command Loaded: lyrics
28:8:2024 - 15:15 | Info: Command Loaded: move
28:8:2024 - 15:15 | Info: Command Loaded: nowplaying
28:8:2024 - 15:15 | Info: Command Loaded: pause
28:8:2024 - 15:15 | Info: Command Loaded: play
28:8:2024 - 15:15 | Info: Command Loaded: queue
28:8:2024 - 15:15 | Info: Command Loaded: remove
28:8:2024 - 15:15 | Info: Command Loaded: resume
28:8:2024 - 15:15 | Info: Command Loaded: search
28:8:2024 - 15:15 | Info: Command Loaded: seek
28:8:2024 - 15:15 | Info: Command Loaded: shuffle
28:8:2024 - 15:15 | Info: Command Loaded: skip
28:8:2024 - 15:15 | Info: Command Loaded: skipto
28:8:2024 - 15:15 | Info: Command Loaded: stats
28:8:2024 - 15:15 | Info: Command Loaded: volume
28:8:2024 - 15:15 | Info: Command Loaded: youtube
28:8:2024 - 15:15 | Info: Event Loaded: guildCreate
28:8:2024 - 15:15 | Info: Event Loaded: message
28:8:2024 - 15:15 | Info: Event Loaded: raw
28:8:2024 - 15:15 | Info: Event Loaded: ready
28:8:2024 - 15:15 | Info: Event Loaded: voiceStateUpdate
TypeError: Invalid URL
    at new URL (node:internal/url:804:36)
    at initAsClient (/home/container/node_modules/ws/lib/websocket.js:614:17)
    at new WebSocket (/home/container/node_modules/ws/lib/websocket.js:74:7)
    at Node.connect (/home/container/node_modules/erela.js/dist/structures/Node.js:115:23)
    at Manager.init (/home/container/node_modules/erela.js/dist/structures/Manager.js:119:18)
    at module.exports (/home/container/events/ready.js:10:18)
    at DiscordMusicBot.emit (node:events:519:28)
    at DiscordMusicBot.emit (node:domain:488:12)
    at WebSocketManager.triggerClientReady (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:431:17)
    at WebSocketManager.checkShardsReady (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:415:10) {
  code: 'ERR_INVALID_URL',
  input: 'ws://host name or IP:80/'
}

Further details: