Undefined tag [cfchart] error while running cfcompile

Hi,

I’m on Commandbox 6.2.1, coldbox-7.5.1+26, and Lucee 6, and everything worked fine until I tried publishing the project with cfcompile utility.

If I don’t specify the cfengine option with cfcompile command, cfcompile seems to pick up the built-in bundle of Commandbox which is Lucee 5 to compile the code. (Although in Lucee Administrator > Update, it says Lucee 6 already.) The compiling process would succeed but the compiled project will error out on the production server with Lucee 6.

If I specify the cfengine option, the compiling process would fail:

cfcompile cfengine=lucee@6.2.3.35 destPath=...
Welcome to CommandBox!
CommandBox:asrs-server> task run
 √ | Starting Server
   | √ | Setting site [cfml-compiler-server] Profile to [development]
   | √ | Installing package [forgebox:lucee@6.2.3.35]
   | √ | Loading CFConfig into server

Waiting for server to start: 0/60
Waiting for server to start: 1/60
Waiting for server to start: 2/60
Waiting for server to start: 3/60
Waiting for server to start: 4/60
Waiting for server to start: 5/60
Starting compilation of: /Users/myleslee/websites/asrs-server/
Destination: /Users/myleslee/websites/cfcompiled/asrs-server-compiled/
/Users/myleslee/websites/asrs-server/coldbox/system/cache/report/skins/default/CacheCharting.cfm:5 : undefined tag [cfchart]; Failed in /Users/myleslee/websites/asrs-server/coldbox/system/cache/report/skins/default/CacheCharting.cfm:5

Stopping cfml-compiler-server...
Stopped
forgetting cfml-compiler-server...
Poof! Wiped out server cfml-compiler-server
BUILD starts at 15:56
handling static files...
/Users/myleslee/websites/asrs-server/modules/hyper/server.json copied.
/Users/myleslee/websites/asrs-server/modules/hyper/box.json copied.
/Users/myleslee/projects/apps/asrs/dist/spa/icons.svg copied.
/Users/myleslee/websites/shared copied.
compiling source code...


ERROR (6.2.1+00830)

Errors Encountered

Lucee 6 has moved some functions (such as cfchart) from its core to plugins. So I’m wondering if there’s any other way to make it work.

Thanks!

Cfcompile isn’t maintained by Ortus. Pethaps @pete has some input. Looking ay your output, I’m not really clear what the error is.