Tech Support Forum banner
1 - 10 of 10 Posts

·
Registered
Joined
·
5 Posts
Discussion Starter · #1 ·
Hello,

the issue is, when I run a command in Windows PowerShell (e.g. npm install gulp-cli -g) it does nothing and the window minimizes, if I run an incorrect task, it responds with an error as normal, but does not work when I run something valid. Or if anyone could help me with how to install gulp for vscode, I would be most grateful, I've been trying for hours and running out of time.

Thanks!
 

·
Moderator , - Microsoft Support
Joined
·
5,162 Posts
Have you verified that npm is installed correctly? From powershell (ran as administrator), you should be able to type npm -v and see the version. Does that command work?
 

·
Team Manager, Microsoft Support
Joined
·
29,770 Posts
Start>Windows Features>Scroll to Power Shell and check
 

·
Team Manager, Microsoft Support
Joined
·
29,770 Posts
See if you can run commands in Safe Mode.
 

·
Team Manager, Microsoft Support
Joined
·
29,770 Posts
If this command works net user administrator /active:yes use that account (hidden Admin) to run other commands. Are you positive you have admin rights?
 

·
Team Manager, Microsoft Support
Joined
·
29,770 Posts
If that doesn't get you into the hidden Admin Account: Run (or Win+R)>lusrmgr.msc >Highlight Administrator and uncheck disabled. Now try Command Prompt or Power Shell from that account.
 
1 - 10 of 10 Posts
Top