Forum Discussion
How to create a modal dialog?
- 5 years ago
There is a solution! Thank to AsafMozes
Please try to update to powerbi-visuals-webpack-plugin 2.3.0 on powerbi-visuals-tools project.
( powerbi-visuals-tools location can be usually found by “npm root -g” )https://github.com/MicrosoftDocs/powerbi-docs/issues/3138
It works for me.
I've encountered the same error in attempting to use the Dialog with a custom visual:
The error links to the following code snippet in Power Bi code.
I feel that there is something missing from the documentation steps or the Power Bi code.
I would really like to use this feature if anyone can figure it out. Is there an additional npm packages or versions required?
These are the ones I'm currently using:
Anonymous did you get this resolved?
I'm getting the same thing you posted above no matter what I try.
- Anonymous5 years agoNot applicable
Yes, it worked for me as well.
I took the path from running npm root -g, removed "node_modules" from the end, and pasted <here> in the following command.
npm install --prefix <here> powerbi-visuals-webpack-plugin
- WZorn5 years agoHelper III
Got it! Thanks. I was thinking it was my new visual project that needed the update. I was not thinking it was the package inside powerbi-visuals-tools that needed updating.