Forum Discussion
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!