[TIMOB-26547] TiAPI: LiveView does not work on SDK 8+
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2020-05-19T15:19:38.000+0000 |
Affected Version/s | Release 8.0.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Unknown |
Created | 2018-11-11T14:29:09.000+0000 |
Updated | 2020-05-19T15:19:38.000+0000 |
Description
Our app is not launching when using SDK 8.0.0 with LiveView. It stops after launching the LiveView file server:
[TRACE] ** BUILD SUCCEEDED **
[INFO] Finished building the application in 25s 438ms
[LiveView] version 1.2.2
[LiveView] Alloy project monitor started
[INFO] Launching iOS Simulator
[LiveView] File Server Started on 0.0.0.0:8324
[LiveView] Event Server Started on 0.0.0.0:8323
This is happening on both iOS and Android (Windows untested so far).
[~hknoechel], I'm having no issues myself connecting to the liveview server. Could you please edit
<sdk path>/node_modules/liveview/hook/lvhook.js
to addchild.stderr.pipe(process.stderr);
afterchild.stdout.pipe(process.stdout);
and then run withDEBUG=liveview:*
. I don't suppose you still have a path to a custom liveview hook setup in ti config do you? That's unsupported and we have patched the liveview distributed via studio to not run when using SDK 8I'm going to close this as cannot reproduce, based off the error logs it looks very similar to when a global install of liveview and a local install of liveview are fighting, nothing project specific