[TIMOB-26781] Windows: When using Liveview: 'alloy' is not recognized as an internal or external command' error is shown
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-02-12T09:40:59.000+0000 |
Affected Version/s | Release 8.0.0 |
Fix Version/s | Release 8.0.0 |
Components | Android, CLI, Tooling, Windows |
Labels | regression |
Reporter | Samir Mohammed |
Assignee | Ewan Harris |
Created | 2019-01-30T16:17:36.000+0000 |
Updated | 2019-02-12T11:33:07.000+0000 |
Description
When editing a file and pressing save when using Liveview the following is shown in the console.
[LiveView] Alloy recompile initiated for android
[LiveView] 'C:\Users\su\.appcelerator\install\7.0.10-6\package\node_modules\alloy\bin\alloy' is not recognized as an internal or external command,
operable program or batch file.
*Test Steps:*
Create a new default alloy application in Appc Studio
Run the program
Edit a file (e.g. index.xml)
Press save
*Actual result:* Following is shown in the console:
[LiveView] Alloy recompile initiated for android
[LiveView] 'C:\Users\su\.appcelerator\install\7.0.10-6\package\node_modules\alloy\bin\alloy' is not recognized as an internal or external command,
operable program or batch file.
*Expected result:*
Liveview should update the app without any issues.
PR: https://github.com/appcelerator/liveview/pull/127 This has also exposed ALOY-1644, which I'm now starting to work on. If I make no progress on that today then I suggest we disable selective compilation on Windows for now
Liveview PR merged. Waiting for SDK PR for a version bump.
master: https://github.com/appcelerator/titanium_mobile/pull/10694 8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10695
Closing ticket fix verified in SDK version 8.0.0.v20190211161538 and CLI version 7.0.10-master.14. Able to build an Android application with LiveView enabled and once changes were made and then saved the application would reflect changes. Test and other information can be found at: https://github.com/appcelerator/liveview/pull/127