cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Joe22
New Member

.Less Error Message with Matrix Visual

I have added everything from

https://github.com/microsoft/Powerbi-Visuals-SampleMatrix

to my VS Code and continue to get this error message when executing pbiviz start:

info Building visual...
error LESS style/visual.less : The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

I have also made the the following npm installs with no success:
powerbi-visuals-tools@2.5.0
node@12.13.1
npm@6.12.1
typescript@2.3.3


Any suggestions?

1 REPLY 1
danielpinh
Regular Visitor

Hi, I am facing the same problem! Does anyone have some news about this problem?

 

By the way, this is all of my code for the .less file: 

p {
    font-size: 20px;
    font-weight: bold;
    em {
        background: 'yellow';
        padding: 5px;        
    }
}

 

and this is the error: 

error LESS style/visual.less : The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors