Fixed: Unable to Start Lucee: Can't find component [lucee-password-util.models.PasswordManager]

I was working on one of my open source Coldbox modules today when all of the sudden I couldn’t start up Lucee@5 or Lucee@6 servers. Every time I typed run-script start:lucee5 or run-script start:lucee6, I would get the following error message in Commandbox:

invalid component definition, can’t find component [lucee-password-util.models.PasswordManager]

As it turned out, my Commandbox system module cfconfig-services had been completely wiped out. The directory existed, but all of the guts were deleted. I have no idea how that happened… maybe a rogue LLM or something. Anyway, I’m posting this fix in case anyone else ever encounters this weird issue. You can fix it by forcing a re-install of cfconfig-services like this:

install commandbox-cfconfig --force --system

This happens to me sometimes when I have my cfconfig project linked to the CommandBox home and I run box install on a project which includes cfconfig as a dependency. The uninstall wipes out the Git repo.
FWIW, the --system flag isn’t neccessary.

1 Like