Error during installation process - Path must be a string
See original GitHub issueThe problem
When I start using appium@beta version 1.14.0-beta.2, I got the error during installation process on the real device: Path must be a string. Received undefined.
Environment
- Appium version: 1.14.0-beta.2
- Real device or emulator/simulator: real device
- Mobile platform/version under test: 13.0
- Npm: 6.11.3
- Node: 8.12.0
Details
This is my capabilities:
DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 5000);
desiredCapabilities.setCapability(MobileCapabilityType.DEVICE_NAME, System.getProperty("deviceName"));
desiredCapabilities.setCapability(MobileCapabilityType.UDID, System.getProperty("deviceUdid"));
desiredCapabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, System.getProperty("platformVersion"));
desiredCapabilities.setCapability(MobileCapabilityType.APP, System.getProperty("appFilePath"));
desiredCapabilities.setCapability("autoGrantPermissions", true);
desiredCapabilities.setCapability(MobileCapabilityType.FULL_RESET, true);
desiredCapabilities.setCapability(MobileCapabilityType.NO_RESET, false);
desiredCapabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, Settings.IOS_AUTOMATION_NAME);
desiredCapabilities.setCapability("usePrebuiltWDA", true);
mobileDriver = new IOSDriver(new URL("http://127.0.0.1:4723/wd/hub"), desiredCapabilities);
Link to Appium logs
Here are the logs: https://gist.github.com/jovana119/2db809a17d8eb00736a807a3d763bccf
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (2 by maintainers)
Top Results From Across the Web
"Error: path must be a string" (v5.10.0) - Stack Overflow
I have this file (a large bundle of a couple of JS files) that used to work with browserify ( ...
Read more >Visual Studio 2017 installer fails
2018-10-05T12:25:28 : Error : Failed to start the setup updater service. error: Path must be a string. Received undefined at Error: Path must...
Read more >Error: Path must be a string. Received undefined - Forge
In my case const { WebClient } = require("@slack/web-api"); was causing the problem. Changing it to import declaration didn't fix the issue ...
Read more >Error installing cordova-plugin-firebase': TypeError - OutSystems
Error installing cordova-plugin-firebase': TypeError: Path must be a string. ... We are using firebase cordova plugin in our mobile application.
Read more >Application installation common error codes reference
There may be an issue with the package, in some cases you may need to rebuild and redistribute it. This issue can also...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes and it didn’t help. I’m still getting operation timed out error during installation.
able to install the app now.