Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightmare crashes Node on Windows 10 #1476

Open
bernardodesousa opened this issue Jul 10, 2018 · 8 comments
Open

Nightmare crashes Node on Windows 10 #1476

bernardodesousa opened this issue Jul 10, 2018 · 8 comments

Comments

@bernardodesousa
Copy link

bernardodesousa commented Jul 10, 2018

Hi! Since this morning, my Nightmare projects says:

Assertion failed: frame_header.payload_length == sizeof xfer_info, file src\win\pipe.c, line 1709

Things that I tried to solve it to no avail:

  1. Delete node_modules folder from the project, npm install and run again;
  2. Uninstall Node, delete npm cache, reinstall node;
  3. Create a brand new test Nightmare project using the first example in the readme file, the one that goes to DuckDuckGo and makes a simple search;
  4. Edit the example project so it only visits the page and does nothing else.

It all ends up with the same problem. I tried on a Linux machine and it works fine. It's just here on my Windows 10 box that it happens. Also doens't happen on my other Node projects, those which don't use Nightmare.

I'm using the latest stable versions of Node (10.6.0) and Nightmare (3.0.1).

Thanks for any help.

@ljmerza
Copy link

ljmerza commented Jul 11, 2018

I think it has something to do with the latest nodejs version. I downgraded from v10.6.0 to 10.5.0 and everything works now.

@akaleeroy
Copy link

Not fixed in nodejs v10.7.0.

Error just moved 1 line

Assertion failed: frame_header.payload_length == sizeof xfer_info, file src\win\pipe.c, line 1708

choco install nodejs --version 10.5.0 --allow-downgrade will not work.

@AndyDBell
Copy link

Same error.
Node 10.7.0
Windows Version 10.0.17134 Build 17134
nightmare 3.0.1
Assertion failed: frame_header.payload_length == sizeof xfer_info, file src\win\pipe.c, line 1708

@AndyDBell
Copy link

Not fixed in Node 10.8.0
Windows Version 10.0.17134 Build 17134
nightmare 3.0.1
Assertion failed: frame_header.payload_length == sizeof xfer_info, file src\win\pipe.c, line 1708

@piousdeer
Copy link

Not fixed in Node 10.9.0
Windows Version 10.0.17134.228 Build 17134
nightmare 3.0.1
Assertion failed: frame_header.payload_length == sizeof xfer_info, file src\win\pipe.c, line 1708

@iamashks
Copy link

I agree with @ljmerza - it has something to do with some change in Node v10.6.0.

Temp. solution: I uninstalled v10.7.0 and installed v10.5.0, and it just worked.

Hope it helps. Thank you.

@ljmerza
Copy link

ljmerza commented Aug 17, 2018

You can also try installing the latest LTS version of node 8.x

@kmiterror
Copy link

kmiterror commented Nov 13, 2018

Fixed in Node 10.13.0
Windows Version 10.0.17134.345 Build 17134
nightmare 2.10

Had the same problem with nigthmare 2.10 and node 10.6
I did some tests and it works ok with node 10.1 and the latest 10.13 so it looks like it's fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

7 participants