Home > Software design >  command prompt when i try install any dependence
command prompt when i try install any dependence

Time:11-09

when I try to install any dependence in command prompt get this error message and tried to google but nothing any one to help me please

enter image description here

please I need help someone to help me

CodePudding user response:

try installing locally. and add this path to your system variable: C:\Program Files\nodejs

CodePudding user response:

Reinstall the node.

You have two ways to install Node.js on your computer.

Option 1 – Setup by running the .msi installation file

  • Its a typical Windows installation and automated. No need to add entries in environment varaiable

Option 2 – Setup by extracting .zip file

  • This method does not require admin access and can be used to install on nodejs on a system on which you dont have admin access such as you official laptop or desktop.

  • Removing nodejs is as simple as deleting the folder. You will have to add entries in environment variable if you want to execute node command from any location in windows command prompt. https://nodejs.org/en/download/

CodePudding user response:

Based on the screenshot.your access is denied.Would suggest starting the terminal as an administrator before running the command.

  • Related