question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Page.navigate hangs with angular application

See original GitHub issue
Component Version
Operating system Manjaro Linux
Node.js 8.9.4
Chrome/Chromium/… 64.0.3282.140
chrome-remote-interface 0.25.5

Is Chrome running in a container? NO

When navigating in an angular application, the call to Page.navigate hangs forever. I bundled a minimal script that triggers this bug: https://gist.github.com/m-rousse/de42a69db1405d82a919689778329c12

If I add a void Page.navigate({url: 'http://localhost:8123/index.html#!/next'}) before line 10 of main.js, the call is successful and the navigation is resumed. If I reload the page in the browser (using F5), it does also resume the script.

While debugging, I noticed that the Page.navigate command is successfully sent but no response is received. (cf. image) capture du 2018-02-08 16-01-23

I have this same bug at other calls in my code, and noticeably when using the Debugger.resume command, and the only way out of this being calling the Page.navigate once again.

This might be a problem of chrome itself so I crossposted this issue on the chromium bugtracker (cf. issue)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
cyrus-andcommented, Feb 9, 2018

You’re welcome!

For the second bug, I will report it to the chromium team.

Feel free to post here the follow up so to help others.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular App gets freeze when navigating one view to another ...
I have an angular 9.1.11 application that is gets freezed after navigating from navigating from one page to another page (different module ...
Read more >
Pages freeze for some seconds when navigating back or ...
App freezes for some seconds when navigating. here is a short video ... import { Location } from '@angular/common'; import { Page }...
Read more >
Ionic + angular PWA freezes sometime and won't be able to ...
l have an ionic app and on browser, it works fine, ... finishing a quiz the app tabs freeze, and l won't be...
Read more >
App Freezes | Angular - EJ 2 Forums - Syncfusion
But when I navigate to week view or default view is set to week view, the app freezes. it seems like an object...
Read more >
Using Angular routes in a single-page application
To define how users navigate through your application, you use routes. Add routes to define how users navigate from one part of your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found