Closed jerrychong25 closed 5 years ago
Hi @jerrychong25,
Try to clean up the cloud workspace by selecting the File->Clean Cloud Workspace
option from the NativeScript SideKick menu and try to rebuild the project.
Hi @jerrychong25, Try to clean up the cloud workspace by selecting the
File->Clean Cloud Workspace
option from the NativeScript SideKick menu and try to rebuild the project.
Will check and revert back asap. Thanks.
Tested File->Clean Cloud Workspace
, but not working.
Clean Cloud Workspace Logs:
[19-03-23 10:30:15.386] NativeScript Sidekick version: 1.16.2-v.2019.3.13.12
[19-03-23 10:30:15.588] Checking for updates...
[19-03-23 10:30:17.940] Dependencies versions: NodeJS: 8.11.4, npm: 5.6.0, NativeScript CLI: 5.2.3.
[19-03-23 10:30:17.990] No updates available.
[19-03-23 10:30:21.169] (CLI) Using NativeScript CLI located in C:\Users\Jerry Chong\AppData\Roaming\npm\node_modules\nativescript
[19-03-23 10:30:22.972] (CLI) Searching for devices...
[19-03-23 10:30:23.919] (CLI) iTunes is not installed. Install it on your system and run this command again.
[19-03-23 10:30:23.997] Loaded CLI extension nativescript-cloud, version 1.17.1.
[19-03-23 10:30:24.001] Loaded CLI extension nativescript-starter-kits, version 0.3.5.
[19-03-23 10:30:34.651] The user Jerry Chong logged in.
[19-03-23 10:30:37.400] Devices service initialized.
[19-03-23 10:31:47.290] App with path: D:\GitHub\NSTestApp was opened.
[19-03-23 10:32:27.759] (CLI) Starting Cloud cleanup. Cloud operation id: d3bc9583-144e-4e2f-a3a3-b833ac06d723
[19-03-23 10:32:27.764] (CLI) Cloud cleanup: Application Id: org.nativescript.NSTestApp, Project Name: NSTestApp.
[19-03-23 10:32:32.346] (CLI) ### AWS CodeCommit cleanup
[19-03-23 10:32:32.346] (CLI) No AWS CodeCommit data to clean.
[19-03-23 10:32:32.346] (CLI) ### Build machines cleanup
[19-03-23 10:32:38.282] (CLI) Child cloud operation id: adc45674-c9ec-4796-7dd9-a2a8a2ba2adbStarting cleanup on VMmJ9+aVc62R
[19-03-23 10:32:38.282] (CLI) No workspace found in /tmp/builds/_/9a54efc52c8c7890a9c6eb9baeb5685597d88572.
[19-03-23 10:32:38.286] (CLI) Child cloud operation id: 053d5ca4-fca0-4699-7c5b-0530b9ebcda0Starting cleanup on VMy6ugjnMm0g
[19-03-23 10:32:38.286] (CLI) No workspace found in /tmp/builds/_/9a54efc52c8c7890a9c6eb9baeb5685597d88572.
[19-03-23 10:32:38.298] (CLI) Child cloud operation id: 9e75dcd7-c31a-43f2-7f1f-56bf4915cdd0Starting cleanup on VMja4YgGGt6s
[19-03-23 10:32:38.298] (CLI) No workspace found in /tmp/builds/_/9a54efc52c8c7890a9c6eb9baeb5685597d88572.
[19-03-23 10:32:38.360] (CLI) Child cloud operation id: 7cc07759-41e9-4a94-518e-bcbd54f3a393Starting cleanup on VMKI0PJl+p7x
[19-03-23 10:32:38.360] (CLI) No workspace found in /tmp/builds/_/9a54efc52c8c7890a9c6eb9baeb5685597d88572.
[19-03-23 10:32:38.400] (CLI) Child cloud operation id: 18d77d76-bce4-4136-6b8a-45f4343fd623Starting cleanup on ec258342-d0a6-95ae-1c95-88ac7ca8c88c
[19-03-23 10:32:38.400] (CLI) No workspace found in /mnt/storage/builds/_/9a54efc52c8c7890a9c6eb9baeb5685597d88572.
[19-03-23 10:32:38.428] (CLI) Child cloud operation id: bb0db3a4-b574-453c-4d96-8f59ac729a40Starting cleanup on VMBmlVEYrBF5
[19-03-23 10:32:38.428] (CLI) No workspace found in /tmp/builds/_/9a54efc52c8c7890a9c6eb9baeb5685597d88572.
[19-03-23 10:32:38.433] (CLI) Child cloud operation id: c5d911f6-d9e8-479e-5312-a70f7e50c9e6Starting cleanup on VMy6ugjnMm0g
[19-03-23 10:32:38.433] (CLI) No archive found in /mnt/storage/incremental/_/9a54efc52c8c7890a9c6eb9baeb5685597d88572.
[19-03-23 10:32:38.433] (CLI) Child cloud operation id: 4dc8a796-1515-4027-67be-3634bbae40d6Starting cleanup on VMKI0PJl+p7x
[19-03-23 10:32:38.433] (CLI) No archive found in /mnt/storage/incremental/_/9a54efc52c8c7890a9c6eb9baeb5685597d88572.
[19-03-23 10:32:38.485] (CLI) Child cloud operation id: 4b8150c8-bf6f-49d4-6dcf-0b0d0d8639d5Starting cleanup on VMf6cYoxXPfT
[19-03-23 10:32:38.485] (CLI) No workspace found in /tmp/builds/_/9a54efc52c8c7890a9c6eb9baeb5685597d88572.
[19-03-23 10:32:38.490] Cleaned the cloud workspace of NSTestApp аpp.
Rebuild Logs:
[19-03-23 10:33:15.404] Build started.
[19-03-23 10:33:17.867] (CLI) Starting Cloud build. Cloud operation id: d9b310e8-a95a-40d0-b973-8a2e95fd16a2
[19-03-23 10:33:17.867] (CLI) Getting accounts information...
[19-03-23 10:33:20.882] (CLI) Using account 4b007745-f1e7-4800-ab2c-2985a4c9acae.
[19-03-23 10:33:20.895] Prepare step started.
[19-03-23 10:33:20.901] (CLI) Cloud build of 'D:\GitHub\NSTestApp', platform: 'Android', configuration: 'Debug'.
[19-03-23 10:33:21.019] (CLI) nativescript-plugin-firebase: building for same environment, not forcing prepare.
[19-03-23 10:33:27.449] (CLI) Found peer node-sass
[19-03-23 10:33:28.505] (CLI) Found peer TypeScript 3.1.6
[19-03-23 10:33:36.511] (CLI) Preparing project...
[19-03-23 10:33:37.121] (CLI) Project successfully prepared (Android)
[19-03-23 10:33:37.137] (CLI) Configure firebase
[19-03-23 10:33:37.148] (CLI) Copy D:\GitHub\NSTestApp\App_Resources\Android\google-services.json to D:\GitHub\NSTestApp\platforms\android\app\google-services.json.
[19-03-23 10:33:39.119] (CLI) All SASS source files removed from app package
[19-03-23 10:33:39.653] Prepare step completed.
[19-03-23 10:33:43.052] Upload step started.
Hi @jerrychong25,
We will need some additional info to investigate further your case.
Try to build the project again via SideKick, when the build is on Upload step started
step, wait two or three minutes. Then open the logs folder(Help->Show Logs
) and send us the main
and console
files.
Also, try to build the project using the cloud builds via CLI and send us the generated log as well. Check out the steps below:
cmd
) and execute the npm root -g
. This will print the directory of all globally installed packages. npm
folder while using the path printed by npm root -g
-> cd <path>
cd node_modules\nativescript\config
explorer .
command and open the config.json
file.console.json
file, we need to set the DEBUG
option to true
. For example:
{
"DEBUG": true,
.........
}
cmd
tns cloud build android --emulator --accountId 1 --log trace > log.txt 2>1
command. When build froze (two or three minutes might be needed). Stop the build.log.txt
file.
Note: Keep in mind that you need to set
DEBUG
tofalse
again when the cloud build via CLI is stopped. ("DEBUG": true
, will provide some richer log, which is needed for the investigation of the problem).
Thank you in advance for your cooperation.
closing due to inactivity
Did you verify whether this issue has already been reported here?
No, but have similar issues for iOS on https://github.com/NativeScript/sidekick-feedback/issues/203.
Tell us about the problem
I am new in NativeScript, and following tutorial mentioned in https://docs.nativescript.org/sidekick/getting-started/build to build my first NativeScript app.
However, it have issue when doing 2.2 Build for Android, whereas the build freezes on Upload step started.
Which platform(s) does the issue occur on?
Android
Windows 8.1
Provide the following version numbers that the issue occurs with:
Note: I can't found Logs folders under %AppData%\NativeScriptSidekick\ as mentioned in https://github.com/NativeScript/sidekick-feedback#gather-information-about-your-development-environment
Tell us how to recreate the issue in as much detail as possible
Does this issue happen every time?
Yes
Send the client logs
[19-03-15 03:06:04.676] NativeScript Sidekick version: 1.16.2-v.2019.3.13.12 [19-03-15 03:06:04.812] Checking for updates... [19-03-15 03:06:05.426] Dependencies versions: NodeJS: 8.11.4, npm: 5.6.0, NativeScript CLI: 5.2.3. [19-03-15 03:06:06.560] No updates available. [19-03-15 03:06:07.381] (CLI) Using NativeScript CLI located in C:\Users\Jerry\AppData\Roaming\npm\node_modules\nativescript [19-03-15 03:06:09.060] (CLI) Searching for devices... [19-03-15 03:06:09.974] (CLI) iTunes is not installed. Install it on your system and run this command again. [19-03-15 03:06:10.036] Loaded CLI extension nativescript-cloud, version 1.17.1. [19-03-15 03:06:10.040] Loaded CLI extension nativescript-starter-kits, version 0.3.5. [19-03-15 03:06:15.427] Devices service initialized. [19-03-15 03:06:16.748] The user Jerry logged in. [19-03-15 03:06:27.316] App with path: D:\GitHub\NSTestApp was opened. [19-03-15 03:06:51.442] App with path: D:\GitHub\BuildingAssistant was opened. [19-03-15 03:07:09.801] App Settings saved successfully. [19-03-15 03:07:58.355] Build started. [19-03-15 03:08:00.906] (CLI) Starting Cloud build. Cloud operation id: 34ee4210-407a-4202-bd56-18cad606df1a [19-03-15 03:08:00.915] (CLI) Getting accounts information... [19-03-15 03:08:03.807] (CLI) Using account 4b007745-f1e7-4800-ab2c-2985a4c9acae. [19-03-15 03:08:03.820] (CLI) Cloud build of 'D:\GitHub\BuildingAssistant', platform: 'Android', configuration: 'Debug'. [19-03-15 03:08:03.834] Prepare step started. [19-03-15 03:08:03.886] (CLI) nativescript-plugin-firebase: building for same environment, not forcing prepare. [19-03-15 03:08:10.337] (CLI) Found peer node-sass [19-03-15 03:08:11.183] (CLI) Found peer TypeScript 3.1.6 [19-03-15 03:08:19.766] (CLI) Preparing project... [19-03-15 03:08:20.225] (CLI) Project successfully prepared (Android) [19-03-15 03:08:20.244] (CLI) Configure firebase [19-03-15 03:08:20.256] (CLI) Copy D:\GitHub\BuildingAssistant\App_Resources\Android\google-services.json to D:\GitHub\BuildingAssistant\platforms\android\app\google-services.json. [19-03-15 03:08:22.241] (CLI) All SASS source files removed from app package [19-03-15 03:08:22.755] Prepare step completed. [19-03-15 03:08:26.025] Upload step started.
Could anyone assist on this issue?
Thanks.