[TIMOB-27257] [Windows] Error is shown when packaging a windows module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-07-22T21:47:41.000+0000 |
Affected Version/s | Release 8.1.0 |
Fix Version/s | Release 8.1.0 |
Components | Windows |
Labels | engSchedule, regression |
Reporter | Samir Mohammed |
Assignee | Ewan Harris |
Created | 2019-07-19T12:40:03.000+0000 |
Updated | 2019-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:
run
*Expected result*
Module should package successfully
*Actual result*
Above error is shown
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):
master: https://github.com/appcelerator/titanium_mobile_windows/pull/1408 8_1_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1407
FR Passed, Waiting on Jenkins builds.
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}