Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

using command npm install give the following error

Error: EPERM, unlink

System info: Bower version: 1.3.12 Node version: 0.10.35 OS : Windows8

I tried below workaround but nothing is worked out.

  1. clean bower cache
  2. uninstall bower
  3. Update decompress-zip using npm
  4. install the bower again

Its not worked for me please suggest me some solution

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
521 views
Welcome To Ask or Share your Answers For Others

1 Answer

I got this problem, yes in Windows 10.

Solution?

To disable indexing of contents for that folder (the one containing the package.json)!!

On Windows Shell (File Manager), follow this steps:

  1. Right click on the folder with the error, choose 'Properties'
  2. Click the 'Advanced...' button.
  3. Uncheck the checkbox 'Allow files in this folder to have contents indexed in addition to file properties'.
  4. Press 'OK'.
  5. On the previous Properties dialog (visible again), press 'Apply'
  6. Check radio button 'Apply changes to this folder, subfolder and files'.
  7. Press 'OK'.
  8. (can take a while)
  9. Press 'OK' (to close properties dialog).
  10. Works!

Screenshot of the infamous checkbox


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...