Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I want to setup a new custom visual development environment on my Win10. Installed (as admin, systemwide, from Powershell):
- nodejs 14.17.2. node starts properly from CLI.
- npm i -g powerbi-visuals-tools (3.2.3). I can see it with npm -g list
- npm i -g powerbi-visuals-api (3.8.2). I an see it with npm -g list, too
Now, the whole internet says that at this point the command pbiviz is just simple accessible from CLI (Powershell run as administrator). Not by me as an admin on my machine (even after Set-ExecutionPolicy Unrestricted): PowerShell says pbiviz is not recognized as a command, operable program ... . No troubleshoot of this step anywhere. Please give me tips what to look at/how to access pbiviz?
Solved! Go to Solution.
So, the solution is that:
- npm even with -g installs all packages to the actual user and not systemwide; and
- powershell -when it runs with admin rights- still runs the commands with the environment of the user who logged in.
You must run powershell as the logged in user and install packages for yourself (with -g). There are no systemwide packages.
So, the solution is that:
- npm even with -g installs all packages to the actual user and not systemwide; and
- powershell -when it runs with admin rights- still runs the commands with the environment of the user who logged in.
You must run powershell as the logged in user and install packages for yourself (with -g). There are no systemwide packages.