Skip to content

Release 2.1.2 crashes on Windows 11 x64 #837

@rboy1

Description

@rboy1

Describe the bug
A clear and concise description of what the bug is.
Crashes on start

To Reproduce
Steps to reproduce the behavior:
Run the cli with no parameters or any parameters

Expected behavior
A clear and concise description of what you expected to happen.
Should work

Actual behavior
A clear and concise description of what actually happens.

D:\Temp>smartthings.exe
file:///D:/Temp/dist_bin/smartthings.mjs:184528
        if ('isAxiosError' in error && error.isAxiosError) {
                           ^

TypeError: Cannot use 'in' operator to search for 'isAxiosError' in undefined
    at file:///D:/Temp/dist_bin/smartthings.mjs:184528:28
    at Object.fail (file:///D:/Temp/dist_bin/smartthings.mjs:181700:21)
    at Object.nonOptionCount (file:///D:/Temp/dist_bin/smartthings.mjs:182612:27)
    at file:///D:/Temp/dist_bin/smartthings.mjs:184439:74
    at file:///D:/Temp/dist_bin/smartthings.mjs:184143:13
    at maybeAsyncResult (file:///D:/Temp/dist_bin/smartthings.mjs:181144:15)
    at [validateAsync] (file:///D:/Temp/dist_bin/smartthings.mjs:184142:16)
    at [runYargsParserAndExecuteCommands] (file:///D:/Temp/dist_bin/smartthings.mjs:184417:55)
    at YargsInstance.parse (file:///D:/Temp/dist_bin/smartthings.mjs:183659:63)
    at file:///D:/Temp/dist_bin/smartthings.mjs:184563:140

Node.js v24.8.0

Additional context
Add any other context about the problem here. Please include output of smartthings --version. Screenshots can be helpful too.
Fresh install of Windows 11 pro x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions