Original error: _appiumSupport.util.coerceVersion is not a function

I no longer can run tests on my IOS device.
I am running Appium v1.12.1
and here is my desired capabilities:
desiredCapabilities: {
platformName: “iOS”,
platformVersion: “12.2”,
deviceName: “iPhone X”,
app: Users/username/Desktop/mobile.app,
automationName: “XCUITest”,
autoAcceptAlerts: true,
connectHardwareKeyboard: false,
showIOSLog: false,
newCommandTimeout: 30000

And I am receiving this error: An unknown server-side error occurred while processing the command. Original error: _appiumSupport.util.coerceVersion is not a function