You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment Info: System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Binaries:
Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.13.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
--
Details
I have a high CPU usage when running a React app.
I think it is a problem with a dependency, because if I run a newly created CRA --typescript, the CPU usage drastically decreases. My package.json is as follows:
Switched to Ubuntu, same project, same package-lock.json - npm installed and no issues. Build times are faster than I could ever imagine. A friend tried in his 2014 Mac and runs perfectly.
So this is Windows related.
Any idea what module or package is occasioning this?
Is this a bug report?
Yes.
Did you try recovering your dependencies?
Yes.
Environment
Details
I have a high CPU usage when running a React app.
I think it is a problem with a dependency, because if I run a newly created CRA --typescript, the CPU usage drastically decreases. My package.json is as follows:
Do you know if any of these packages is causing any issues?
I tried rewriting my App.tsx to render just an empty
div
and the CPU usage is still the same.Tried deleting and installing node_modules, deleted typescript cache, but no luck.
Tried on a different Windows machine and the results are the same.
The text was updated successfully, but these errors were encountered: