Can't find wheels folder after a CFWheels app is generated

With CommandBox v6.0.0+00787, I’m running into an issue with CFWheels apps where CommandBox can’t find the wheels folder. At first I thought it was because I’d been switching between Windows and Fedora, but it occurs with brand new apps. Example screenshot attached.

In box, generate an app with
wheels generate app testApp
CommandBox runs and creates the project successfully, leaves you in the testApp directory.

CommandBox:testApp> wheels info

ERROR (6.0.0+00787)

We're currently looking in /home/tim/Documents/Projects/testproject/testApp/, but can't find a /wheels/ folder?

Looking at the files, the entire app template was created, including the wheels folder. Maybe a problem with the leading slash on “/wheels/”? I don’t know how to override this.

Happens for me with new and existing apps on Windows 11 and Fedora 40. Was not occurring in the 5.x version. Additionally, and I’m assuming related, using other wheels commands also results in an error:

CommandBox:testApp> wheels generate controller user

Creating Controller...

ERROR (6.0.0+00787)

[/home/tim/Documents/Projects/testproject/testApp/app/controllers] can't be found. Are you running this from your site root?

There is a spurious “app” folder before “/controllers” in the error message.

Any help is appreciated.

Kinda sounds like a question for the maintainers of the CFWHeels CLI. I don’t know how it works, but I’d start by looking at what code throws that error and finding out what the logic is.

Thanks. Having dug more into this, it seems related to folder structure changes in (the still upcoming) CFWheels 3.0. The CLI tool seems to have been altered prematurely. I’ll reach out over there.

1 Like