Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: npm install mdbreact pro bootstrap.min.css and fontawesome.min.css not found

anndrajs pro asked 6 years ago


Hi I've followed the 5 minute quick install instructions several times and am still getting the error message:
Module not found: Can't resolve 'bootstrap/dist/css/bootstrap.min.css' in 'C:\Users\User\Anndra Group Limited\Buaidh - Documents\DevOps\bpm_react\bpm-react\src'
I have uninstalled mdbreact and reinstalled using mdbreact. I have put the import bootstrap.min.css in the right order (as per other issue open) and continue to get the error. I'm sure I'm missing something simple but not sure why this is not working when I follow your instructions to the letter. Thanks Andrew

Anna Morawska staff answered 6 years ago


Hi there, probably it's because we don't longer use bootstrap as a dependency. It has been mentioned here, in our changelog. Please alter your import statement in index.js file into :
import 'bootstrap-css-only/css/bootstrap.min.css';
It should help. Best, Ania

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.7.1
  • Device: HP
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: Yes
  • Provided link: No