String Length error while trying to register a command

command registry for command "setup" at path "/home/userland/dev/shnhelper/dist/commands/Configuration/setup.js" ExpectedConstraintError > s.string.lengthGreaterThanOrEqual
2022-12-31 12:34:33 - ERROR - Invalid string length
2022-12-31 12:34:33 - ERROR -
2022-12-31 12:34:33 - ERROR - Expected: expected.length >= 1
2022-12-31 12:34:33 - ERROR -
2022-12-31 12:34:33 - ERROR - Received:
2022-12-31 12:34:33 - ERROR - | ''
2022-12-31 12:34:33 - ERROR -
Solution
I found the error; Basically when I called the "super" function inside the constructor, it overwrote all the configuration provided by the decorator
Was this page helpful?