Skip to main content
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
pramodcog
Frequent Visitor

Issue with pbiviz package command not resolving third party modules correctly

Hello,

I am encountering an issue with the pbiviz package command while trying to package my Power BI custom visual. The command fails with module resolution errors, specifically for @mui & lodash modules used by internal library.

 

Here are the details:

Module not found: Error: Can't resolve '@mui/base/Button' in '/path/to/project/node_modules/internal_library'
Did you mean 'index.js'?
BREAKING CHANGE: The request '@mui/base/Button' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e.g., a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').

 

Same error for lodash as well

 

I am using webpack configuration to resolve alias for these libraries for local build which works fine (I run yarn build && yarn start).

 

I am wondering if there is a configuration in pbiviz.json or some other config I need to add similar to alias as webpack config to solve the issue?

 

I would appreciate any guidance or suggestions on how to resolve this issue. Thank you!

 

Best Regards,

Pramod

1 REPLY 1
pramodcog
Frequent Visitor

Hello,

 

I would appreciate if any one can provide a positive response for the above post!

 

Best Regards,

Pramod

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)