question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Appium 1.5.0-beta11 start: TypeError: Path must be a string. Received undefined

See original GitHub issue

I’ve installed appium@beta which may fix another issue with Chromedriver. However, after installing it and starting it, I get the following error:

$ appium
TypeError: Path must be a string. Received undefined
    at assertPath (path.js:8:11)
    at Object.win32.resolve (path.js:130:5)
    at Object.<anonymous> (lib/ios-crash-log.js:8:24)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (index.js:1:35)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (lib/driver.js:11:51)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)

I’ve tried reinstalling it, but it does not make a difference.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:25 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
abacajcommented, Feb 4, 2016

cool - fixed it with export ANDROID_HOME=/usr/local/Cellar/android-sdk/24.4.1_1

0reactions
lock[bot]commented, Apr 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Path must be a string. Received undefined #7084
The problem I am pretty much facing this issue: #6978 after upgrading appium. So I tried the solution from #6978 npm install -g...
Read more >
'TypeError: Path must be a string. Received undefined' after ...
So using npm run start.android while using https://github.com/NathanWalker/angular-seed-advanced runs the project in android. I installed all ...
Read more >
TypeError: Path must be a string. Received undefined - ionic-v3
I keep getting this error when I try to start a new project with: ionic start newapp blank I just upgraded ionic to...
Read more >
webpack path must be a string received undefined
This issue is about The "path" argument must be of type string. Received type undefined issue, so please create a new issue with...
Read more >
Getting Started - Appium
This doc will get you up and running with a simple Appium 1.x test and introduce ... which is a graphical, desktop-based way...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found