Modules failed to load

Trying to install CommandBox. When I double-click box.exe to install, I get the following in the terminal window. I am not entirely sure how to fix this issue:

Module [jmespath] failed to load! Check the logs for more info ( system-log | open ).

Missing [;] or [line feed] after expression
C:\Users\Sam Weimer.CommandBox\cfml\system\services\ServerService.cfc:1094
Module [server-commands] failed to load! Check the logs for more info ( system-log | open ).
The target ‘interceptor-ServerSystemSettingExpansions’ requested a missing dependency with a Name of ‘serverService’ and DSL of ‘serverService’
{“ref”:null,“required”:true,“argName”:"",“dsl”:“serverService”,“javaCast”:null,“name”:“serverService”,“type”:“any”,“value”:null,“scope”:“variables”}
C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\ioc\Builder.cfc:621
Module [package-commands] failed to load! Check the logs for more info ( system-log | open ).
The target ‘PackageService’ requested a missing dependency with a Name of ‘artifactService’ and DSL of ‘ArtifactService’
{“ref”:null,“required”:true,“argName”:"",“dsl”:“ArtifactService”,“javaCast”:null,“name”:“artifactService”,“type”:“any”,“value”:null,“scope”:“variables”}
C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\ioc\Builder.cfc:621
BOOM GOES THE DYNAMITE!!
We’re truly sorry, but something horrible has gone wrong when starting up CommandBox.
Here’s what we know:.

Message:
Missing [;] or [line feed] after expression

Tag Context:
C:\Users\Sam Weimer.CommandBox\cfml\system\endpoints\File.cfc: line 44
called from C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\core\util\Util.cfc: line 442
called from C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\ioc\config\Mapping.cfc: line 521
called from C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\cache\AbstractCacheBoxProvider.cfc: line 387
called from C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\ioc\config\Mapping.cfc: line 530
called from C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\ioc\Injector.cfc: line 409
called from C:\Users\Sam Weimer.CommandBox\cfml\system\services\EndpointService.cfc: line 54
called from C:\Users\Sam Weimer.CommandBox\cfml\system\services\EndpointService.cfc: line 35
called from C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\core\events\EventPool.cfc: line 121
called from C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\core\events\EventPool.cfc: line 95
called from C:\Users\Sam Weimer.CommandBox\cfml\system\wirebox\system\core\events\EventPoolManager.cfc: line 59
called from C:\Users\Sam Weimer.CommandBox\cfml\system\services\InterceptorService.cfc: line 57
called from C:\Users\Sam Weimer.CommandBox\cfml\system\Bootstrap.cfm: line 150

To enable full stack trace, run “config set verboseErrors=true”

It means not all of Lucee’s extensions installed. If you look at line 44 of that File.cfc you’ll see it’s this

zip action="unzip" file="#package#" destination="#packagePath#" overwrite="true";

When Lucee’s Compress extension fails to install, Lucee doesn’t know about the cfzip tag, so it just errors. There’s no telling why it didn’t install, but chances are you closed CommandBox the first time it was starting and it killed Lucee while it was still unpacking. If Lucee gets interrupted while doing the first-time installing of extensions, it will never try again.

What I’d recommend doing is

  • close the CLI
  • delete the ~/.CommandBox/engine folder
  • restart the CLI and give it time to fully load