Topic: Attempted import error: 'MDBRating' is not exported from 'mdbreact'.

erik77500 free asked 5 years ago


https://mdbootstrap.com/plugins/react/rating/

i'm trying using rating with basic example. and it failed to compile because Attempted import error: 'MDBRating' is not exported from 'mdbreact'.


Konrad Stępień staff answered 5 years ago


Hi @erik77500,

Can you send me your package.json file? (Please hide your token)

Also please delete:

  • package-lock.json - file
  • node modules - folder

and then run npm i and test this component.

If you still problems, please tell me about that.

Best regards, Konrad.



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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.22.0
  • Device: laptop
  • Browser: crome
  • OS: win 10
  • Provided sample code: No
  • Provided link: Yes