Description
Describe the bug
I have installed react project using npx create-react-app my-app
and it is running fine in chrome and firefox but showing blank screen in Microsoft Edge. It is just showing syntax error in browser console.
Did you try recovering your dependencies?
Yes.
npm version: 6.13.2
yarn version: 1.19.2
I installed two separate projects and used npm
in first one and yarn
in other one.
Environment
Environment Info:
System:
OS: Windows 10 10.0.17763
CPU: (4) x64 Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
Binaries:
Node: 13.1.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.19.2 - C:\Users\Hardik\AppData\Roaming\npm\yarn.CMD
npm: 6.13.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.17763.831.0
Internet Explorer: 11.0.17763.771
npmPackages:
react: ^16.12.0 => 16.12.0
react-dom: ^16.12.0 => 16.12.0
react-scripts: ^3.3.0 => 3.3.0
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
- Do
npx create-react-app my-app
yarn start
ornpm start
- Run http://localhost:3000/ in Microsoft edge ot Internet explorer
Expected behavior
(Write what you thought would happen.)
App should be run in all major browsers.
Actual behavior
App not running in edge and internet explorer. Giving syntax error in console.