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.

console warning: cycle-plugin.js:49 Cyclic next detected

See original GitHub issue

Worrying console message

cycle-plugin.js:49 Cyclic next detected; type = subject; value = Scroll(anchor: 'null', position: 'null'); subscribed at

Evidently something going on in Angular router. Not asking you to fix it.

I am asking what the warning is telling me and what someone (the Angular team?) should do about it.

Trying this promising library for the first time with angular@^6.1.9 and rxjs@^6.3.3

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

bschantzcommented, Aug 5, 2020

@msorens The console environment won’t have any knowledge of CyclePlugin – it needs to be in code:

import { create } from 'rxjs-spy';
import { CyclePlugin } from 'rxjs-spy/plugin';
const spy = create();
cartantcommented, Jan 29, 2019

Could you may deploy a new version of rxjs-spy so that we can consume it with npm.

No. I’m not inclined to do that. Soon, I’m going to release rxjs-devtools. It will have some new features and will replace rxjs-spy. The changes you mention were reverted and the work I was doing was moved to a new repo - which will also include a Chrome DevTools extension.

Could you explain it easier?

Not really. It means there is a feedback loop. That is, when a source observable emits, something happens in a listener that effects another synchronous emission from the source observable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Determine where circular dependency warning in console is ...
I've searched and grepped through my node_modules but can't seem to find the origin of the warning. rollup.config.js : import typescript from ' ......
Read more >
httparchive_js_2022_05_28.txt - Index of /
Lib.js bc.js polyfills.js 49.cac4d470.chunk.js uikit.js html5shiv.js ... jquery.cycle.all.min.js highcharts.js preload.js capirs_async.js ...
Read more >
httparchive_js_2021_01_28.txt - Index of /
validationEngine.js tinymce.min.js decorate.min.js branch-latest.min.js entry.min.js jquery.ui.widget.js logger-utils.min.js console-output-handler.min.js ...
Read more >
Share operator does not reconnect to source observable when rxjs ...
When there is a spy object created, this is not working. ... use spy instead HOT 2; console warning: cycle-plugin.js:49 Cyclic next detected...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found