Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I am attempting to work with Power BI Embedded. Whenever I import the NuGet package, Microsoft.PowerBI.JavaScript, above version 1.1.0, I get tons of build errors stating that it cannot find modules (ex: Build:Cannot find module './service'.) The source file the error is originating from is the powerbi.d.ts. I've looked all over and haven't been able to find an answer to solve the issue, other than reverting to version 1.1.0 (but it seems I lose the ability to put in advanced/basic filters through javascript if I do this). Can anyone help me?
Solved! Go to Solution.
There is a similar issue at https://github.com/Microsoft/PowerBI-JavaScript/issues/72. You may check if it helps.
Hi All...as mentioned several times the link is now closed...so what is the solution in adding the powerbi-client (and all it's links) through Visual Studio via add=> client side library. Is this functionality not working or something?
Like Shiagar I have broken references to several modules.
The solution link is removed. I am still facing the issue for http-post-message, powerbi-models and powerbi-router module
Don't know whether this is still open, but install dependencies:
npm install powerbi-client
There is a similar issue at https://github.com/Microsoft/PowerBI-JavaScript/issues/72. You may check if it helps.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |