Appium with nightwatch automation

I working on appium with nightwatch in andriod studio, I am getting below error, can you please fix my problem and also tell me how to run appium with nightwatch tests
essage:
‘An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability’,
error: [] },
:warning: Error connecting to 127.0.0.1 on port 4723.


[HTTP] <-- POST /wd/hub/session 500 8 ms - 179
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“browserName”:“firefox”,“platform”:“ANY”,“name”:“First”}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“browserName”:“firefox”,“platform”:“ANY”,“name”:“First”},null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1584012152618 (16:52:32 GMT+0530 (IST))
[BaseDriver] Event ‘newSessionStarted’ logged at 1584012152620 (16:52:32 GMT+0530 (IST))
[MJSONWP] Encountered internal error running command: Error: You must include a platformName capability
[MJSONWP] at AppiumDriver.getDriverAndVersionForCaps (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/lib/appium.js:195:13)
[MJSONWP] at AppiumDriver.getDriverAndVersionForCaps [as createSession] (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/lib/appium.js:300:66)
[MJSONWP] at AppiumDriver.executeCommand (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:376:19)
[MJSONWP] at AppiumDriver.executeCommand (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/lib/appium.js:482:26)
[MJSONWP] at executeCommand (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:306:34)
[MJSONWP] at asyncHandler (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:432:15)
[MJSONWP] at Layer.handle [as handle_request] (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[MJSONWP] at next (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[MJSONWP] at Route.dispatch (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[MJSONWP] at Layer.handle [as handle_request] (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[MJSONWP] at /tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[MJSONWP] at Function.process_params (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[MJSONWP] at next (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[MJSONWP] at logger (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[MJSONWP] at Layer.handle [as handle_request] (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[MJSONWP] at trim_prefix (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[MJSONWP] at /tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[MJSONWP] at Function.process_params (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[MJSONWP] at next (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[MJSONWP] at /tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/body-parser/lib/read.js:130:5
[MJSONWP] at invokeCallback (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/raw-body/index.js:224:16)
[MJSONWP] at done (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/raw-body/index.js:213:7)
[MJSONWP] at IncomingMessage.onEnd (/tmp/.mount_AppiumxoaSx7/resources/app/node_modules/appium/node_modules/raw-body/index.js:273:7)
[MJSONWP] at IncomingMessage.emit (events.js:182:13)
[MJSONWP] at endReadableNT (_stream_readable.js:1090:12)
[MJSONWP] at process._tickCallback (internal/process/next_tick.js:63:19)
[HTTP] <-- POST /wd/hub/session 500 12 ms - 179
[HTTP]