Unable to resovle module | React Mobile UI Kit


Topic: Unable to resovle module | React Mobile UI Kit

cliplicht asked 5 years ago

After I solve the self-referencing problem. The following error appears when using the MDB controls:

bundling failed: Error: Unable to resolve module. (see screenshot) unable_to_resolve_module

tested controls: .. (see code snippet)

App.tsx <MDBButton title="test">test</MDBButton> <MDBLabel>test</MDBLabel>

Simulator Exception: exception_module_not_found_simulator package_content_missing_ref


Piotr Glejzer staff commented 5 years ago

Hello,

there is a bug with importing a module to the main file and package it with a rollup. We will fix this in the next version. Sorry about that.

Best regards, Piotr


cliplicht answered 5 years ago

I tried both libraries:

  • import {MDBButton} from 'mdbreact-mobile/dist/mdbreact-mobile.js';
  • import {MDBButton} from 'mdbreact-mobile/dist/mdbreact-mobile.esm.js';

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: iPhone 11 Pro
  • Browser: Chrome, Safari, Firefox, Opera
  • OS: Max OSX
  • Provided sample code: No
  • Provided link: No