Error when I try to execute npm start
Opened this issue · 0 comments
C:\Users\b0tbo\Desktop\YouTubeMusic-Discord-Rich-Presence-master>npm start
ytmusicdiscord@1.0.0 start C:\Users\b0tbo\Desktop\YouTubeMusic-Discord-Rich-Presence-master
node .
Starting YouTubeMusicDiscordRichPresence...
Ready Senpai!
(node:1848) UnhandledPromiseRejectionWarning: Error: connection closed
at IPCTransport. (C:\Users\b0tbo\node_modules\discord-rpc\src\client.js:111:16)
at Object.onceWrapper (events.js:520:26)
at IPCTransport.emit (events.js:400:28)
at C:\Users\b0tbo\node_modules\discord-rpc\src\transports\ipc.js:141:18
at decode (C:\Users\b0tbo\node_modules\discord-rpc\src\transports\ipc.js:92:5)
at Socket. (C:\Users\b0tbo\node_modules\discord-rpc\src\transports\ipc.js:120:7)
at Socket.emit (events.js:400:28)
at emitReadable_ (internal/streams/readable.js:550:12)
at processTicksAndRejections (internal/process/task_queues.js:81:21)
(Use node --trace-warnings ...
to show where the warning was created)
(node:1848) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1848) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.