Discord-MusicBot
Discord-MusicBot copied to clipboard
Starting Error
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:
> [email protected] 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:
- Node.js version: 21
- Operating system: VPS