Forum Discussion
Issue with R plotly in pbiviz versions 4.0.6+
Hey, sure happy to elaborate. I'll use the steps in this link as a reference to try and make this easier to follow: https://radacad.com/interactive-map-using-r-and-power-bi-create-custom-visual-part-1
In first step, I assume you've already downloaded a recent version of NodeJS so ignore that. Next it discusses installing powerbi-visuals-tools using npm. Here we will make our first adjustment, modify the install line they use to: npm install -g [email protected]
Now, certify pbiviz by executing: pbiviz --install-cert
This should launch a certification wizard and provide you with a passphrase in the command line that you'll need for one step in the wizard.
Once you've done these two things, you should be able to follow the guide (note the 'What is new in 2019' section) to generate a working rhtml template.
I think this should get you set up, but please let me know if something isn't working for you still.
Thanks for the reply.
I did all of that and I think it solved one problem but created another. While it now says the certificate is valid, I get the following error which must be related somehow.... Any idea how to solve this?
node.exe : error Package wasn't created. 2 errors found
At C:\Users\....\pbiviz.ps1:24 char:5
+ & "node$exe" "$basedir/node_modules/powerbi-visuals-tools/bin/pb ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( error Package... 2 errors found:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
warn Please, make sure that the visual source code matches to requirements of certification:
- j-murray3 years agoFrequent Visitor
Apologies for the late reply on this. If you are still struggling with this issue I would recommend checking out the solution posted in response to this post: https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Local-valid-certificate-not-found/m-p/3177055
This should resolve your certificate issue. Hope this helps!