ProgressNS / sidekick-feedback

This repository is for feedback regarding NativeScript Sidekick. Use the issues system here to submit feature requests or vote for existing ones.
45 stars 9 forks source link

Communication with child Process ended ( zlib.js error) #317

Open moorateeahtashil opened 5 years ago

moorateeahtashil commented 5 years ago

Please, provide the details below:

Did you verify whether this issue has already been reported here?

Yes

Tell us about the problem

(CLI) events.js:183 throw er; // Unhandled 'error' event ^ Error: unexpected end of file at Gunzip.zlibOnError (zlib.js:153:15) Build failed. Communication with the child process was ended.

Help!

Which platform(s) does the issue occur on?

Android Linux Ubuntu 18.04

Provide the following version numbers that the issue occurs with:

Tell us how to recreate the issue in as much detail as possible

  1. Start the application ..
  2. Build a Blank project
  3. Run on device / Build on Android

Does this issue happen every time?

Yes but it did run once ( i build it countless time) but i started getting the same issue now

Send the client logs

https://gist.github.com/Alpha1001/5cb0fce4083a726b7919125fe623a95e.js

ggarabedian commented 5 years ago

Hello, @Alpha1001 and apologies for the late response.

The provided log seems to be in an unexpected format and it's a bit difficult to read. The Sidekick logs are usually easy to read text files that end in .log. Can you tell me if you obtained the provided log by following the steps in Access the NativeScript Sidekick logs and do you see only .js files in the Logs folder?

Regarding the error, most likely the produced application package is corrupted and this is causing the reported error. The corruption might be caused by several different things, but based on your description and the logs which indicate issues with some of the modules, you might want to delete the node_modules, platforms/android and .cloud folders and try to build again.

We are not able to reproduce the described issue when testing on our end, so if the suggested above doesn't help, I'll ask you to share the new Sidekick logs. Additionally, can you tell me if you are building locally or in the cloud?