lukazbaum / discordjs-command-handler

A comprehensive TypeScript command handler for Discord.js, featuring slash commands, prefix commands, message commands, events, automatic intents, and more.
MIT License
5 stars 1 forks source link

[BUG] I cannot compile the discord bot #1

Closed claimholder closed 5 months ago

claimholder commented 6 months ago

Whenever i try "compiling" the handler, this is the error I get:

'rm' is not recognized as an internal or external command, operable program or batch file.

pls fix it thanks

lukazbaum commented 5 months ago

Hello, sorry for the late response. Which operating system are you using? If it's windows replace this line in the package.json:

"clean": "rm -rf dist",

with

"clean": "del -f \"dist*\"",