0

I'm trying to install npm readline but it's giving this error now and before it had given others

enter image description here

enter image description here

Deleted several folders and uninstalled nodejs but nothing helped I don't know how to solve it

James Z
  • 12,209
  • 10
  • 24
  • 44

1 Answers1

0

Based on the log messages, the npm agent appears to be facing issues in creating the necessary folders due to insufficient permissions.

As suggested by @ratnez here you can grant the required permissions as follows:

  1. Right Click The Folder > Properties > Security Tab
  2. Click on Edit to change Permissions
  3. Select the user and give Full Control to that user.
Vahid Haratian
  • 708
  • 2
  • 6
  • 23