Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Communication with the child process was ended,assertion failed error Even reinstall #233

Closed
ann1111 opened this issue Jul 18, 2018 · 10 comments
Assignees

Comments

@ann1111
Copy link

ann1111 commented Jul 18, 2018

Hi Guys,

    Urgent I got this error

I have reinstall it still its shows in windows can you share me its solution ASAP

img_18072018_163332_0

@ventsislav-georgiev
Copy link

@ann1111 Do you happen to use Node 10.6.0? As the issue seem related to: #227

@ann1111
Copy link
Author

ann1111 commented Jul 18, 2018

@ventsislav-georgiev Yes I use Node 10.6 let me check and revert back to you

@fontchastick
Copy link

same problem on Windows 10,
node 10.6
nativescript 4.1.2

those are the main errors:
-assertion failed: frame_header.payload_length == sizeof xfer_info
-file src\win\pipe.c, line 1709

and here the logs:
console_18-07-19_17-32-59.796.log
main_18-07-19_17-33-01.803.log

plz help! thx

@thewebkit
Copy link

Hello,

@ann1111 @fontchastick

as @ventsislav-georgiev said, it seems to be a bug related to node > v10.6.0.

I've tested with node v10.7.0 (switching with nvm) and the bug is also happening.

But downgrading to node v10.5.0 seems to fix it, for the time beeing i'm gonna use nvm and switch versions when needed ! Even if you have multiple project using differents versions of node, you should be able to run nativescript sidekick with this trick.

Also if you are encountering 'semver' error with nvm after installing new versions, there is a workaround : coreybutler/nvm-windows#302 (comment)

@fontchastick
Copy link

i'm very thankfull to both of you @thewebkit and @ventsislav-georgiev

you were right. as i dowgraded my node to 10.5 the bug was fixed

thank you so much guys!!!!

@ann1111
Copy link
Author

ann1111 commented Jul 20, 2018

Yes me too I downgrade it's working but build still not made from it checking that thanks

@thewebkit @ventsislav-georgiev

@thewebkit
Copy link

@ann1111

My nativescript projects are still in development so I haven't tried building the app for good, but for now i'm using the "Run on device" function (with local build) to an android smartphone connected to the computer, and it's working smoothly.

What build are you trying to make (ios or android ?) and what error do you get from it ?

@ann1111
Copy link
Author

ann1111 commented Jul 20, 2018

it gives me this error @thewebkit

Build failed. TypeScript compiler failed with exit code 1

image

@thewebkit
Copy link

thewebkit commented Jul 20, 2018

@ann1111

I've just tried to build using the same settings as you (local build, with debug), and it worked (node 10.5.0). I'm using a Javascript template tho, not Typescript.

What version of node did you use to develop your app in the first place ?
Did you switch from another version to the (former) latest 10.6.0 ?
I think the best thing to do would be downgrading back to the node version that worked for your previous build. Also posting the full logs of this new error my help other understand your problem and help you out !

@ann1111
Copy link
Author

ann1111 commented Oct 3, 2018

Yes its working fine after downgrading thanks

@ann1111 ann1111 closed this as completed Oct 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants