Backup fails to create
See original GitHub issueHi, whenever I try to use the b!create command, I get this error in console:
(node:19982) UnhandledPromiseRejectionWarning: TypeError: backup.create is not a function
at Client.<anonymous> (/root/discord-backup/index.js:33:16)
at Client.emit (events.js:311:20)
at MessageCreateAction.handle (/root/discord-backup/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/root/discord-backup/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/root/discord-backup/node_modules/discord.js/src/client/websocket/WebSocketManager.js:386:31)
at WebSocketShard.onPacket (/root/discord-backup/node_modules/discord.js/src/client/websocket/WebSocketShard.js:435:22)
at WebSocketShard.onMessage (/root/discord-backup/node_modules/discord.js/src/client/websocket/WebSocketShard.js:293:10)
at WebSocket.onMessage (/root/discord-backup/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (events.js:311:20)
at Receiver.receiverOnMessage (/root/discord-backup/node_modules/ws/lib/websocket.js:801:20)
(node:19982) 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:19982) [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.
Anyone knows what’s wrong?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Backup fails when you create system image - Windows Client
This article provides a solution to an issue where backup fails when you try to create a system image. Applies to: Windows 7...
Read more >Quick Fixes for Windows 10 Backup Failed Error
This article tells you how to fix Windows 10 backup failed easily, directly fix it or use other powerful backup software.
Read more >Backup fails: Failed to create directory '' - VirtuozzoSupport
Symptoms. A container backup fails with the error: · Cause. The remote host, where the backups are stored, is inaccessible over the network....
Read more >"Failed to create full backup task" in Vault ADMS console ...
An error occurs during creating a scheduled backup task in Autodesk Data Management Server Console.
Read more >Windows 10 Backup Not Working? Top Solutions Here
They help you create a system image or back up important files to protect your computer. However, the Windows 10 Backup failed issue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s fixed. I tested to load your backup and it works perfectly. Upgrading discord-backup to v2.1.14 should fix it for you.
Everything works fine now, thanks again for your work @Androz2091 keep up with that!