Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27324] Windows: Error on app launch when Liveview is enabled

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionWon't Do
Resolution Date2020-06-30T14:39:26.000+0000
Affected Version/sRelease 8.0.0, Release 8.1.0
Fix Version/sn/a
ComponentsLiveView, Windows
LabelsengSchedule, regression
ReporterSatyam Sekhri
AssigneeChristopher Williams
Created2019-08-08T18:19:24.000+0000
Updated2020-06-30T14:39:26.000+0000

Description

Error is shown in the app during the app launch on windows device when the liveview is enabled. The issue consistently reproduces on windows device however on windows emulator it does work few times. Steps to Reproduce: 1. Create a default Alloy/Classic project 2. Enable liveview and build to a windows device Actual Result: After the splash screen an error is shown as the app launches. Following are the error logs
[INFO] :   Finished launching the application
[INFO] :   Connected to app
-- Start application log -----------------------------------------------------
[INFO] :   testClass 1.0.0.1 (Powered by Titanium 8.1.0.v20190807134709.1c267e9be8bcd3f3e28703154f69c4fe615d5b7e)
[ERROR] :  Message: Uncaught Error: Runtime Exception: In /app.js require: Could not load module localeStrings
[ERROR] require@[native code]
[INFO] :   require@/ti.main.js:9319:25
[INFO] :   _compile@/app.js:720:43
[INFO] :   require@/app.js:586:25
[INFO] :   patch@/app.js:424:45
[INFO] :   /app.js:763:15
[INFO] :   /app.js:768:3
[INFO] :   global code@/app.js:782:8
[INFO] :   require@[native code]
[INFO] :   require@/ti.main.js:9319:25
[INFO] :   /ti.main.js:9576:10
[INFO] :   loadAsync@/ti.main.js:9502:13
[INFO] :   /ti.main.js:9573:10
[INFO] :   global code@/ti.main.js:9596:8
[INFO] :   require@[native code]
[INFO] :   global code
[ERROR] :  1  JSExportClass<class Titanium::GlobalObject>::require
[ERROR] :  2  JSExportClass<class Titanium::GlobalObject>::require
[ERROR] :  3  JSExportClass<class Titanium::GlobalObject>::require
[ERROR] :  4  JSExportClass<class Titanium::GlobalObject>::require
Expected Result: The liveview should work on win device

Comments

  1. Kota Iguchi 2019-08-12

    I am able to reproduce this issue on my Windows 10 phone device. According to the error message require: Could not load module localeStrings I believe this is something relates to TIMOB-26775. Because we see this error across platforms, I believe LiveView itself has to do something for this.
  2. Kota Iguchi 2019-08-29

    https://github.com/appcelerator/liveview/pull/129

JSON Source