Error: spawn Unknown system error -8 #306
Unanswered
Akash-kansal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After executing the cmd : -
appium server -ka 0 -a 127.0.0.1 -p 4723 --use-drivers xcuitest --use-plugins=device-farm,appium-dashboard -pa /wd/hub --plugin-device-farm-platform=ios
Getting this error::-
[Appium] Attempting to load plugin device-farm...
[Appium] Requiring plugin at /Users/akash.kansal/.appium/node_modules/appium-device-farm
[Appium] Attempting to load plugin appium-dashboard...
[Appium] Requiring plugin at /Users/akash.kansal/.appium/node_modules/appium-dashboard
(node:36011) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use
node --trace-warnings ...
to show where the warning was created)[Appium] Welcome to Appium v2.2.2
[Appium] Non-default server args:
[Appium] {
[Appium] address: '127.0.0.1',
[Appium] basePath: '/wd/hub',
[Appium] keepAliveTimeout: 0,
[Appium] useDrivers: [
[Appium] 'xcuitest'
[Appium] ],
[Appium] usePlugins: [
[Appium] 'device-farm',
[Appium] 'appium-dashboard'
[Appium] ]
[Appium] }
[Appium] Attempting to load driver xcuitest...
[Appium] Requiring driver at /Users/akash.kansal/.appium/node_modules/appium-xcuitest-driver
[device-farm] proxy is not required
[ADB] Found 5 'build-tools' folders under '/Users/akash.kansal/Library/Android/sdk' (newest first):
[ADB] /Users/akash.kansal/Library/Android/sdk/build-tools/34.0.0
[ADB] /Users/akash.kansal/Library/Android/sdk/build-tools/33.0.2
[ADB] /Users/akash.kansal/Library/Android/sdk/build-tools/30.0.3
[ADB] /Users/akash.kansal/Library/Android/sdk/build-tools/29.0.3
[ADB] /Users/akash.kansal/Library/Android/sdk/build-tools/28.0.3
[ADB] Using 'adb' from '/Users/akash.kansal/Library/Android/sdk/platform-tools/adb'
[ADB] Running '/Users/akash.kansal/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[device-farm] 📣📣📣 Device Farm Plugin will be served at 🔗 http://localhost:4723/device-farm
uncaughtException: spawn Unknown system error -8
Error: spawn Unknown system error -8
at ChildProcess.spawn (node:internal/child_process:414:11)
at spawn (node:child_process:761:9)
at /Users/akash.kansal/.appium/node_modules/appium-device-farm/node_modules/teen_process/lib/subprocess.js:143:24
at Promise.cancellationExecute [as _execute] (/Users/akash.kansal/.appium/node_modules/appium-device-farm/node_modules/bluebird/js/release/debuggability.js:406:9)
at Promise._resolveFromExecutor (/Users/akash.kansal/.appium/node_modules/appium-device-farm/node_modules/bluebird/js/release/promise.js:518:18)
at new Promise (/Users/akash.kansal/.appium/node_modules/appium-device-farm/node_modules/bluebird/js/release/promise.js:103:10)
at SubProcess.start (/Users/akash.kansal/.appium/node_modules/appium-device-farm/node_modules/teen_process/lib/subprocess.js:141:18)
at GoIosTracker. (/Users/akash.kansal/.appium/node_modules/appium-device-farm/lib/device-managers/iOSTracker.js:57:26)
at Generator.next ()
at /Users/akash.kansal/.appium/node_modules/appium-device-farm/lib/device-managers/iOSTracker.js:8:71
at new Promise ()
at __awaiter (/Users/akash.kansal/.appium/node_modules/appium-device-farm/lib/device-managers/iOSTracker.js:4:12)
at GoIosTracker.start (/Users/akash.kansal/.appium/node_modules/appium-device-farm/lib/device-managers/iOSTracker.js:34:16)
at IOSDeviceManager. (/Users/akash.kansal/.appium/node_modules/appium-device-farm/lib/device-managers/IOSDeviceManager.js:135:32)
at Generator.next ()
at fulfilled (/Users/akash.kansal/.appium/node_modules/appium-device-farm/lib/device-managers/IOSDeviceManager.js:5:58)
No tvOS simulators found!
[device-farm] Plugin will check for stale device-farm nodes every 300000 ms
[appium-dashboard] Dashboard plugin is enabled and will be served at http://localhost:4723/dashboard
[appium-dashboard] If the appium server is started with different port other than 4723, then use the correct port number to access the device farm dashboard
[Appium] Appium REST http interface listener started on http://127.0.0.1:4724/wd/hub
[Appium] Available drivers:
[Appium] - uiautomator2@2.32.3 (automationName 'UiAutomator2')
[Appium] - xcuitest@5.7.0 (automationName 'XCUITest')
[Appium] - mac2@1.8.3 (automationName 'Mac2')
[Appium] - espresso@2.26.4 (automationName 'Espresso')
[Appium] - safari@3.5.3 (automationName 'Safari')
[Appium] - gecko@1.2.4 (automationName 'Gecko')
[Appium] - chromium@1.2.21 (automationName 'Chromium')
[Appium] - flutter@2.2.1 (automationName 'Flutter')
[Appium] Available plugins:
[Appium] - images@2.1.6
[Appium] - execute-driver@3.0.19
[Appium] - relaxed-caps@1.0.5
[Appium] - universal-xml@1.0.14
[Appium] - device-farm@8.3.16 (ACTIVE)
[Appium] - appium-dashboard@v2.0.2 (ACTIVE)
After this it stop the process.
Beta Was this translation helpful? Give feedback.
All reactions