I am trying to run a cmd
file that calls a PowerShell script from cmd.exe
, but I am getting this error:
Management_Instal
I have also faced similar issue try this hope it helps someone As I'm using windows so followed the steps as given below Open command prompt as an administrator and then go to this path
C:\Users\%username%\AppData\Roaming\npm\
Look for the file ng.ps1 in this folder (dir) and then delete it (del ng.ps1)
You can also clear npm cache after this though it should work without this step as well. Hope it helps as it worked for me.
Hope it helps