Unable to resovle module | React Mobile UI Kit

web
mobile

Topic: Unable to resovle module | React Mobile UI Kit

cliplicht pro asked 1 months 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 1 months 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 pro answered 1 months 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.
Status

Open

Specification of the issue
  • User: Pro
  • 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