TypeError: Path must be a string. Received undefined
See original GitHub issueThe problem
I am pretty much facing this issue: https://github.com/appium/appium/issues/6978 after upgrading appium.
So I tried the solution from #6978
npm install -g appium --no-shrinkwrap
and I got the following error when starting appium:
TypeError: Path must be a string. Received undefined
How am I supposed to get it working?
Environment
- appium@1.6.0
- Windows 10
- Real device or emulator/simulator: Emulator
Appium logs
C:\WINDOWS\system32>npm install -g appium --no-shrinkwrap npm WARN deprecated babel-core@5.8.24: Babel 5 is no longer being maintained. Upgrade to Babel 6. npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated line-numbers@0.2.0: Copy its ~20 LOC directly into your code instead. C:\Users\rafal\AppData\Roaming\npm\appium -> C:\Users\rafal\AppData\Roaming\npm\node_modules\appium\build\lib\main.js C:\Users\rafal\AppData\Roaming\npm `-- appium@1.6.0
npm WARN optional Skipping failed optional dependency /appium/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
C:\WINDOWS\system32>appium TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.resolve (path.js:184:7) at Object.<anonymous> (lib/driver.js:45:8) at Module._compile (module.js:541:32)
Code To Reproduce Issue [ Good To Have ]
start appium
from command line
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (5 by maintainers)
Top GitHub Comments
Closing it
I don’t know. The command on line 16 is not getting to the server, for whatever reason.