Topic: This dependency was not found: font-awesome/css/font-awesome.min.css
*Expected behavior*I expected the font-awesome/css/font-awesome.min.css dependency to be found.
NOTE: I'm actually not sure of which version of mdbreact that I have. (How can I find that out?)
*Actual behavior*When I attempt to run my React (Gatsby.js) app, I get this error...
<br>Failed to compile with 7 errors 1:15:27 PM<br>⠀<br>This dependency was not found:<br>⠀<br>* font-awesome/css/font-awesome.min.css in ./src/pages/faq.js<br>
Resources (screenshots, code snippets etc.)
import 'font-awesome/css/font-awesome.min.css'; // not found
I had attempted to set up a new version of
npm in my root directory, but that broke my app. Then I switched back to my previous (older) version of
npm. Now I get this error. I tried deleting the
.cache folders and then doing an
npm install, but I still get the same error. Any help on this would be much appreciated.
This is what I have in
*removed link *
I am very glad that the problem has been solved. If you want check MDBreact version you can do it if you open package-lock.json and find mdbreact line, or in yarn.lock file.
Also, please hide your package.json file, because in this file you have a tocen.
Best regards, Konrad.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.13.0
- Device: Mac
- Browser: Chrome
- OS: OSX
- Provided sample code: No
- Provided link: No