Basically I’m trying to add slash commands to my Discord bot, but when I start the project, it says that
Builders.ContextMenuCommandBuilder is not a constructor
So I try to reinstall the packages, thinking maybe it didn’t install correctly, only to be met with this:
m ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /app/node_modules/ajv npm ERR! dest /app/node_modules/.ajv-CHyiwSPd npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/app/node_modules/ajv' -> '/app/node_modules/.ajv-CHyiwSPd'
Can anyone tell me how to remove the folder because
rmdir does not work