question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't resolve 'mdbreact'

See original GitHub issue

Hello,

When i try to import Button and Collapse, i get:

Import: import { Button, Collapse } from 'mdbreact';

Error: Module not found: Can't resolve 'mdbreact' in 'C:\wamp64\www\bob-web\notice-cmi\src\components\Collapsable'

I installed it with npm. Did i miss something ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:25 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
PokatilovArtcommented, Feb 23, 2019

This worked for me

const mdbreact = require('mdbreact'); const { Button, Collapse } = mdbreact;

Taken from StackOverflow

8reactions
juergengunzcommented, Dec 5, 2017

@carlgrimm so what is the solution ? I don’t get it. same issue for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

mdbreact - npm
How to install MDB via npm: · create new project create-react-app myApp · cd myApp · npm install --save mdbreact · Import style...
Read more >
Material Design Bootstrap (MDBReact) is not working
Getting following error on using mdbreact components,. ←→1 of 2 errors on the page Error: Invalid hook call. Hooks can only be called...
Read more >
Module not found: Can\\\'t resolve \\\&#38
Hi,I keep running into an issue stating that \ <pre><code><span>Module not found: Can\'t resolve \'mdbreact\' </span></code></pre> \I updated my ...
Read more >
mdb-react-ui-kit - npm Package Health Analysis - Snyk
Learn more about mdb-react-ui-kit: package health score, popularity, security, maintenance, versions and more.
Read more >
Material Design Bootstrap (Mdbreact) Is Not Working - ADocLib
"mdbreact":"git+https://github.com/mdbootstrap/React-Bootstrap-with- ... Error: Module not found: Can't resolve 'mdbreact' in align-items-center"> <Col ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found