Skip to content
Discussion options

You must be logged in to vote

The original cfwheels-cli package was built for Wheels 2.x and the last compatible release for that line is cfwheels-cli@1.1.0. After that, the CLI was updated to support Wheels 3.0, and those changes aren’t fully compatible with 2.5 projects. That mismatch can lead to odd behavior like the CLI not correctly resolving the app root, even when you’re in the right directory.

When you ran install cfwheels-cli --force, CommandBox reinstalled the CLI and effectively reset things, which is why it suddenly started working again.

If you’re staying on Wheels 2.5, the safest setup is to explicitly install the last compatible version:

install cfwheels-cli@1.1.0

For Wheels 3.0, the CLI was moved forwa…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Alex1356250
Comment options

Answer selected by Alex1356250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants