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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

pbiviz --install-cert error

Dear All,

 

I am trying to execute the following command on Powershell: pbiviz --install-cert and keep facing the same error message:

Certificate not found. The new certificate will be generated
(node:16124) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'indexOf' of undefined
at Object.createCertFile (C:\Users\khorli.tan\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\lib\CertificateTools.js:193:27)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:16124) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:16124) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

 

I am using Windows 10.

 

Appreciate any help I could get. Thank you!

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.