Allie
Allie

Reputation: 105

Angular is not downloading due to wrong file name

I am trying to download angular and keeps saying mkdirp is no longer supported and it also looks like it is going into the wrong folder... it's going into the appdata roaming.

enter image description here

I uninstalled node and reinstalled the newest version. I tried to update mkdirp but it will not update.

Upvotes: 0

Views: 159

Answers (1)

Allie
Allie

Reputation: 105

This was due to the npm folder not being added to the environment PATH variable.

  1. Open File Explorer
  2. Right click on "This PC"
  3. Go to "Advanced System Settings"
  4. Click "Environment Variables"
  5. Find the variable called "PATH" and then click "Edit"
  6. Click "New"
  7. In the command promp, type %APPDATA%\npm
  8. Copy the filepath into the new line
  9. Restart cmd

Upvotes: 1

Related Questions