I bootstrapped my application with create-react-app and when I run my app it compiles with warnings and it throws errors on the browser.
Error while com
Moment Released new version that breaks application,
as in your case there is no moment in package.json, if you simply add this to your package
moment: "2.24.0"
and run npm install it will add this moment package and resolve your issue,
otherwise you can try this cammand
npm install --save --save-exact moment@2.24.0
it will automatically add this package to your package.json with this specific version
i hope this works for you