Forum Discussion

PeterAtDjeeni's avatar
PeterAtDjeeni
Frequent Visitor
5 years ago
Solved

pbiviz command is not found

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 power...
  • PeterAtDjeeni's avatar
    5 years ago

    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.