I have encountered an issue with my Angular 6 app. While it runs smoothly on my Windows machine, I face difficulties when trying to run the same code on my MAC. The browser appears to be stuck in a perpetual 'loading' state and there are no errors displayed in the console.
Angular CLI: 6.0.8
Node: 9.2.0
OS: MAC High Sierra
Angular: 6.0.6
Update: After inserting console.log statements in my app component, I noticed that the logs were being hit. It seems like the application is loading but not rendering properly, while the browser continues to show a loading symbol.
Upon adding a debugger statement and initiating debugging, I discovered that the issue lies within zone.js, specifically in a function called drainMicroTaskQueue which gets stuck in an infinite loop. Although some online solutions attribute this problem to routing, I am not entirely convinced that routing is the root cause of my issue.
Attached is a screenshot of the Safari developer console: (I removed socket.io from my application, yet the issue persists with vendor.js endlessly loading) https://i.sstatic.net/u7wYG.png
Your help will be greatly appreciated!