-
Notifications
You must be signed in to change notification settings - Fork 9
I have some problem with my sidekick, not create build! #255
Comments
Hello @BibbaSam, We are not able to reproduce the reported error when testing with a sample app. Can you please share the entire log produced during the build? You can find the logs inside the Additionally, it might help if you can share the content of your package.json file as well. |
package.json: Logs: [18-08-29 10:33:09.593] (Info) ab.actionsLogger.shell.appVersion - {"name":"NativeScript Sidekick","version":"1.12.0-v.2018.8.14.2"} [18-08-29 10:33:41.954] (Info) ab.childProcessCommunication.shell.cliStdout - Searching for devices... [18-08-29 10:33:42.877] (Warning) ab.tnsWarnings.shell.tnsSystemWarnings - {"warnings":[]} [18-08-29 10:34:23.726] (Info) ab.analyticsProvider.shell.enableTracking - No value provided [18-08-29 10:43:14.230] (Info) ab.analyticsProvider.ui.trackIntercomEvent - {"eventAction":"buildAndDeploy-Android","eventCategory":"buildDeploy","eventLabel":"Cloud"} [18-08-29 10:43:22.195] (Info) ab.childProcessCommunication.shell.cliStdout - Executing before-shouldPrepare hook from /home/bibbasam/khvodokanal/hooks/before-shouldPrepare/nativescript-dev-webpack.js [18-08-29 10:43:22.220] (Info) ab.childProcessCommunication.shell.cliStdout - Skipping prepare. [18-08-29 10:43:22.249] (Info) ab.liveSync.shell.liveSyncBuildStarted - {"isCloud":true,"isClean":false,"platform":"Android","buildType":"Cloud"} [18-08-29 10:43:26.074] (Info) ab.buildDeploy.shell.cloudBuildStepChanged - {"buildId":"37efe6e1-a351-4dcd-b734-4edff81a0cb2","step":"prepare","progress":0} [18-08-29 10:43:28.180] (Info) ab.childProcessCommunication.shell.cliStdout - Skipping prepare. [18-08-29 10:43:28.197] (Info) ab.buildDeploy.shell.cloudBuildStepChanged - {"buildId":"37efe6e1-a351-4dcd-b734-4edff81a0cb2","step":"prepare","progress":100} *** Пожалуйста, скажите мне кто вы есть. Запустите git config --global user.email "you@example.com" для указания идентификационных данных аккаунта по умолчанию. fatal: не удалось выполнить автоопределение адреса электронной почты (получено «bibbasam@bibbasam.(none)») [18-08-29 10:43:47.920] (Info) ab.buildDeploy.shell.cloudBuildStepChanged - {"buildId":"37efe6e1-a351-4dcd-b734-4edff81a0cb2","step":"upload","progress":100} [18-08-29 10:43:57.783] (Info) ab.childProcessCommunication.shell.cliStdout - Executing before-shouldPrepare hook from /mnt/storage/builds//2c5a8df2d43cc60dfbaabec08401b36ae2c686d6/4.2.3/khvodokanal/hooks/before-shouldPrepare/nativescript-dev-webpack.js [18-08-29 10:43:59.000] (Info) ab.childProcessCommunication.shell.cliStdout - Project successfully prepared (android) [18-08-29 10:44:05.057] (Info) ab.childProcessCommunication.shell.cliStdout - \t + setting applicationId \t + applying user-defined configuration from /mnt/storage/builds//2c5a8df2d43cc60dfbaabec08401b36ae2c686d6/4.2.3/khvodokanal/app/App_Resources/Android/app.gradle [18-08-29 10:44:06.605] (Info) ab.childProcessCommunication.shell.cliStdout - \t + adding nativescript runtime package dependency: nativescript-optimized-with-inspector \t + adding aar plugin dependency: /mnt/storage/builds/_/2c5a8df2d43cc60dfbaabec08401b36ae2c686d6/4.2.3/khvodokanal/node_modules/nativescript-google-maps-sdk/platforms/android/nativescript_google_maps_sdk.aar \t + adding aar plugin dependency: /mnt/storage/builds/_/2c5a8df2d43cc60dfbaabec08401b36ae2c686d6/4.2.3/khvodokanal/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar [18-08-29 10:44:14.032] (Info) ab.childProcessCommunication.shell.cliStdout - Warning: there already is an extend called com.tns.NativeScriptActivity. Warning: there already is an extend called com.tns.FragmentClass. [18-08-29 10:44:17.215] (Info) ab.childProcessCommunication.shell.cliStdout - Exception in thread "main"
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[18-08-29 10:44:18.793] (Info) ab.childProcessCommunication.shell.cliStdout - Exception in thread "main" java.io.IOException: File already exists. This may lead to undesired behavior.
[18-08-29 10:44:20.068] (Info) ab.childProcessCommunication.shell.cliStdout - Unable to apply changes on device: emulator-5554. Error is: Build failed.. [18-08-29 10:44:20.095] (Error) ab.liveSync.shell.liveSyncError - Build failed., Error: Build failed. |
@BibbaSam, thank you for sharing the package.json file of your app and the logs produced during build. The issue is related to the following lines in the log:
This error might originate from your custom code or from a mismatch in compatibility of the latest version of NativeScript and some of the plugins you use. Unfortunately, the issue does not reproduce on our end and it is a bit difficult to determine what exactly is causing it. Having said that, can you please delete the node_modules and platforms/android folders, enable the Clean Build option and then try to build the app anew? |
Closing the issue due to inactivity. Please, consider opening a new issue if you continue to experience the problem with the latest version of NativeScript Sidekick. |
how to fix it any idea i am getting problem with this |
Please, provide the details below:
Did you verify whether this issue has already been reported here?
No
Tell us about the problem
when I try to start in debug mode, I get the error:
[18-08-28 17:28:18.930] Error detected during LiveSync on emulator-5554 for /home/bibbasam/khvodokanal. Error: Build failed.
Which platform(s) does the issue occur on?
Android
Linux
Provide the following version numbers that the issue occurs with:
Tell us how to recreate the issue in as much detail as possible
Does this issue happen every time?
Yes
The text was updated successfully, but these errors were encountered: