nitin42 / terminal-in-react

👨‍💻 A component that renders a terminal
http://terminal-in-react.surge.sh/
MIT License
2.12k stars 151 forks source link

The version of react is too old for UI Fabric. #77

Open MasterOrMonster opened 4 years ago

MasterOrMonster commented 4 years ago

The ver of react is just 16.2.0. It's too old for UI Fabric which is based on 16.8.0.

ikatun commented 4 years ago

Just open your package.json and add "postinstall": "npx flatten-dependencies react react-dom" to your "scripts", and then run npm run postinstall or npm install.

That will force the library to use the version of React defined by your project.