Topic: React MDB Tutorial Broken
mark-steven-au pro premium asked 5 years ago
*Expected behavior*Download Tutorial npm install / start here npm start do Tutorial
*Actual behavior*Download tutorial (either as zip or git in case there was a difference) Terminal npm install npm start
Failed to compile./src/index.jsModule not found: Can't resolve 'font-awesome/css/font-awesome.min.css' in '/MDB React-Tutorial-Agenda-App/mdb working/src
new at React (Hence the tutorial) Had to npm audit fix as it did not quite work then npm start
Found work around Issue seems to be only in the startup folder (or course it would be)
Edit src/ index.js delete reference to the font(line 3) import 'font-awesome/css/font-awesome.min.css'; Replace with import '@fortawesome/fontawesome-free/css/all.min.css';
seems there has Been a font upgrade
Save and all now works. All the other folders lesson 1-12 do not seem to have this problem only "start here" folder
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: Yes
- Technology: MDB React
- MDB Version: 4.25.6
- Device: Mac
- Browser: chrome
- OS: os catalina
- Provided sample code: No
- Provided link: No