Topic: Unable to resovle module | React Mobile UI Kit

cliplicht free asked 4 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 4 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 free answered 4 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

Opened

Specification of the issue

  • ForumUser: 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