While trying to implement the canActivate feature in my app routing, I keep encountering a problem. Every time I compile the app, the console log keeps refreshing with error messages that shouldn't be there because I had already used console.log() for debugging purposes.
What could be causing this issue?