appium-boilerplate: Error: spawn appium ENOENT at Process.ChildProcess._handle.onexit
Describe your question with as much detail as possible A clear and concise question that doesn’t require too much conversation. Need more help? Find me on Gitter
If it’s about a specific piece of code, try and include some of it to support your question. […] node --version v10.15.3
NPM --version 6.9.0 appium --version 1.14.2
WebdriverIO: 5.12.4 Platform: [Android]
Real Device.
Cloned project from boilerplate and copied .apk file in .apps directory and when running npm run android.app getting below errors…
events.js:174 throw er; // Unhandled ‘error’ event ^
Error: spawn appium ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Emitted ‘error’ event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
[… lines matching original stack trace …]
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! appium-boilerplate@5.3.1 android.app: wdio ./config/wdio.android.app.conf.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-boilerplate@5.3.1 android.app script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output abov
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 21 (8 by maintainers)
Hi, Thanks for your reply. Updating solved the issue.