Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26781] Windows: When using Liveview: 'alloy' is not recognized as an internal or external command' error is shown

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-02-12T09:40:59.000+0000
Affected Version/sRelease 8.0.0
Fix Version/sRelease 8.0.0
ComponentsAndroid, CLI, Tooling, Windows
Labelsregression
ReporterSamir Mohammed
AssigneeEwan Harris
Created2019-01-30T16:17:36.000+0000
Updated2019-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.

Comments

  1. Ewan Harris 2019-02-11

    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
  2. Lokesh Choudhary 2019-02-11

    Liveview PR merged. Waiting for SDK PR for a version bump.
  3. Ewan Harris 2019-02-11

    master: https://github.com/appcelerator/titanium_mobile/pull/10694 8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10695
  4. Samir Mohammed 2019-02-12

    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

JSON Source