CLI - Cannot read properties of undefined

I’m just getting started with the CLI and working my way around to see what I can do.

I’ve successfully connected to my hub, can see the channels I’ve enrolled in, the available drivers etc.
(And even created my own channel! Woo hoo!)

However - when I run “smartthings edge:drivers:installed”
I get the error - “Cannot read properties of undefined (reading ‘flags’)”

I was expecting this to show me a list of all drivers installed on my hub.

Have I misunderstood this, or can someone help advise how to resolve this error?

Thanks in advance

I cannot reproduce this error. Do you have drivers installed? (at least one is ok)
This can be verified by following these steps:

  1. In the ST app, go to the Hub and enter its details
  2. Click on the menu (three-dot symbol in the upper-right corner)
  3. Select “driver”.

Thank you @nayelyz

Yes - I have approximately 20 drivers installed.

mmm then, this is odd. I haven’t seen this error before, which version of the CLI are you using?
It can be verified by sending only smartthings --version.
Also, are you using the default authorization? (I mean the one where a web page opens for you to authorize the access)

@smartthings/cli/1.0.0-beta.14 win32-x64 node-v16.16.0

Yes - the authorization popped open for me to sign in, and then closed again

Ok, it seems the issue is in this specific version, it happened to me as well using it.
If you need to run this command, please use version 12, if not, you can monitor this info through the app.

I’ll report this right away :smiley:

Ok - thanks. I’ll get version 12.

What I was trying to do, was to see which drivers I’ve installed, which are yet to have any devices using them.

Is that possible in the CLI or app? To see installed but unused drivers.