Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27257] [Windows] Error is shown when packaging a windows module

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-07-22T21:47:41.000+0000
Affected Version/sRelease 8.1.0
Fix Version/sRelease 8.1.0
ComponentsWindows
LabelsengSchedule, regression
ReporterSamir Mohammed
AssigneeEwan Harris
Created2019-07-19T12:40:03.000+0000
Updated2019-07-22T21:47:41.000+0000

Description

When packaging a windows module an error is shown is Studio and the CLI. The CLI error is shown below:
Command
  C:\Users\APPC\AppData\Roaming\nvm\v8.9.1\node.exe C:\Users\APPC\.appcelerator\install\7.1.0-master.24\package\node_modules\titanium\lib\titanium.js build --config-file C:\Users\APPC\AppData\Local\Temp\build-1563539776329.json --log-level info --no-banner --project-dir C:\Users\APPC\Documents\Appcelerator_Studio_Workspace\eight\windows

2019-07-19T12:36:20.844Z | ERROR  | An uncaught exception was thrown!
Assignment to constant variable.
2019-07-19T12:36:20.846Z | ERROR  | Assignment to constant variable.
Test Steps (CLI):

Create a new Windows module

cd into the Windows directory

run appc run

*Expected result* Module should package successfully *Actual result* Above error is shown

Comments

  1. Ewan Harris 2019-07-19

    master: https://github.com/appcelerator/titanium_mobile_windows/pull/1408 8_1_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1407
  2. Samir Mohammed 2019-07-19

    FR Passed, Waiting on Jenkins builds.
  3. Keerthi Mahalingam 2019-07-22

    Verified the fix on sdk 8.2.0.v20190720222646 and 8.1.0.v20190720135905. packaged successfully. no error thrown.works as expected. {CODE} Operating System Name = Microsoft Windows 10 Pro Version = 10.0.17763 Architecture = 32bit # CPUs = 4 Memory = 17034395648 Node.js Node.js Version = 8.16.0 npm Version = 6.4.1 Titanium CLI CLI Version = 5.2.1 Titanium SDK SDK Version = 8.1.0.v20190720135905 and 8.2.0.v20190720222646 {CODE}

JSON Source