Categories
JavaScript Answers

How to fix Npm Please try using this command again as root/administrator error with JavaScript?

Spread the love

To fix Npm Please try using this command again as root/administrator error with JavaScript, we run npm as an administrator.

To do this, we:

  1. Click Start, click All Programs, and then click Accessories.
  2. Right-click Command prompt, and then click Run as administrator.

Then we run the npm command in the administrator command prompt.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *