运行 appium 时报错
error: Could not determine your device from Appium arguments or desired capabil
ties. Please make sure to specify the 'deviceName' capability
info: Got configuration error, not starting session
info: Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Could not determine y
ur device from Appium arguments or desired capabilities. Please make sure to sp
cify the 'deviceName' capability
info: Error: Could not determine your device from Appium arguments or desired c
pabilities. Please make sure to specify the 'deviceName' capability
at Appium.getDeviceType (C:\Documents and Settings\Administrator\Applicatio
Data\npm\node_modules\appium\lib\appium.js:123:9)
at Appium.configure (C:\Documents and Settings\Administrator\Application Da
a\npm\node_modules\appium\lib\appium.js:255:23)
at Appium.start (C:\Documents and Settings\Administrator\Application Data\n
m\node_modules\appium\lib\appium.js:102:10)
at exports.createSession (C:\Documents and Settings\Administrator\Applicati
n Data\npm\node_modules\appium\lib\server\controller.js:156:16)
at callbacks (C:\Documents and Settings\Administrator\Application Data\npm\
ode_modules\appium\node_modules\express\lib\router\index.js:164:37)
at param (C:\Documents and Settings\Administrator\Application Data\npm\node
modules\appium\node_modules\express\lib\router\index.js:138:11)
at pass (C:\Documents and Settings\Administrator\Application Data\npm\node_
odules\appium\node_modules\express\lib\router\index.js:145:5)
at nextRoute (C:\Documents and Settings\Administrator\Application Data\npm\
ode_modules\appium\node_modules\express\lib\router\index.js7)
at callbacks (C:\Documents and Settings\Administrator\Application Data\npm\
ode_modules\appium\node_modules\express\lib\router\index.js:167:11)
at C:\Documents and Settings\Administrator\Application Data\npm\node_module
\appium\lib\server\controller.js:42:7
info: Responding to client with error: {"status":33,"value":{"message":"A new s
ssion could not be created. (Original error: Could not determine your device fr
m Appium arguments or desired capabilities. Please make sure to specify the 'de
iceName' capability)","origValue":"Could not determine your device from Appium
rguments or desired capabilities. Please make sure to specify the 'deviceName'
apability"},"sessionId":null}