Livesync hangs at "Project successfully prepared (ios)"
Did you verify whether this issue has already been reported here?
_Yes
Tell us about the problem
First test of the day, Start Sidekick to run app on device, and it gets as far as "Project successfully prepared (ios)", and just hangs there.
("Run on Device" button maintains its connected state. "Stop livesync" button is disabled. )
Which platform(s) does the issue occur on?
_iOS
_Windows
Provide the following version numbers that the issue occurs with:
- NativeScript Sidekick: 1.19.2-v.2019.11.18.2
- NativeScript CLI: 6.2.3
- CLI extension nativescript-cloud: 1.19.3
- CLI extension nativescript-starter-kits: 0.3.5
Tell us how to recreate the issue in as much detail as possible
- Start the application ..
- Connect device and select "run on device"
Does this issue happen every time?
No_
Send the client logs
[20-01-22 06:54:24.256] (Info) ab.childProcessCommunication.shell.cliStdout - Hash: 16733f688f30645f8efe
Version: webpack 4.27.1
Time: 28140ms
Built at: 01/22/2020 6:54:24 AM
Asset Size Chunks Chunk Names
B0.png 85.7 KiB [emitted]
.....
[./package.json] 99 bytes {bundle} {tns_modules/tns-core-modules/inspector_modules} [optional] [built]
[./shared/CustomWebView.js] 1.13 KiB {bundle} [built]
[./shared/page-header.css] 829 bytes {bundle} [optional] [built]
[./shared/selected-page-service.js] 691 bytes {bundle} [built]
[./shared/utils.js] 409 bytes {bundle} [built]
+ 766 hidden modules
[20-01-22 06:54:24.588] (Info) ab.childProcessCommunication.shell.cliStdout - Webpack compilation complete. Watching for file changes.
[20-01-22 06:54:24.591] (Info) ab.childProcessCommunication.shell.cliStdout - Webpack build done!
[20-01-22 06:54:24.891] (Info) ab.childProcessCommunication.shell.cliStdout - nativescript-plugin-firebase: building for same environment, not forcing prepare.
[20-01-22 06:54:25.364] (Info) ab.childProcessCommunication.shell.cliStdout - Project successfully prepared (ios)
@EdJones I've tested with some template projects on both Mac and Windows but I am unable to reproduce the issue.
Try updating your NativeScript CLI to the latest version and then update the nativescript-dev-webpack and the related webpack.config.js to their latest versions.
Note: In some cases, the connection to the real device can be .ost due to a different number of reasons including a bad connection cable (tath happened on my side with non-original cable). Check if the device is still connected and accessible while using the livesync.
This happens to my project if I add the plugin nativescript-videorecorder.