Closed linocatucci closed 4 years ago
Hi @linocatucci, is it possible to share a reproduction or a link to your project?
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.
@linocatucci I also run into this from time to time but it's difficult to reproduce.. can I just say thank you for introducing me to the "standard-version" npm module.. didn't know it and it seems pretty helpful. Sorry for the off topic.
Fwiw I*m also using a Macbook Pro with Node 12 and it happens to me maybe once a day.
Have you tried updating to Angular9?
Hello All, I have installed my project on a new MacBook and I don't have this problem any more. Very weird because I don't have fsevents installed at all at the moment... Anyway, I can't reproduce it myself now.
Closing as per above comment.
I am facing same issue now. after mac update, my cpu usage gone 400%. please advise
I solved the problem bij installing fsevents: npm i fsevents, you can install it globally with -g too.
Verstuurd vanaf mijn iPhone
Op 24 apr. 2020 om 01:24 heeft Dean notifications@github.com het volgende geschreven:
I am facing same issue now. after mac update, my cpu usage gone 400%. please advise
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
I installed locally as well as globally (npm i fsevents -g). but, still, the problem is not solved. my CPU utilization is 400% and above
my mac version is: 10.15.4
Had the same issue, the problem was in updating MacOs to Catalyna. fsevents was installed in all my projects, but was not used due to failing node-gyp instalation, as a result files were pooled by watcher and ng serve
was constantly consuming ~50% CPU on my 2-core MBP.
The solution is to reinstall CommandLineTools and then reinstall fsevents in the project.
So first:
https://github.com/nodejs/node-gyp/issues/569#issuecomment-618951143
Then:
npm i fsevents
I had this fixed a month ago, by installing fsevents
now it's returned :(
fsevents 2.1.3
Update The following helped me: https://stackoverflow.com/questions/61816143/angular-cli-ng-serve-high-cpu-usage-from-node-process (use polling)
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
hello,
i am running Angular version 8.2.6 with Node version 12.16.0 on a MacBook Pro. MacBook Pro macOS Catalina version 10.15.4
When run "ng serve" or "ng serve --aot" CPU usage is upper 100% and performance is really bad. I have installed fsevents, which is now version 2.1.2, but still there is a high cpu
consumption.
Does anybody has any ideas how to solve this. Cheers, Lino