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

npm ERR! premature close
npm ERR! code ENOTEMPTY
npm ERR! syscall rmdir
npm ERR! path C:Users86199AppDataRoaming pm-cache\_cacachempgit-clone-3e42dca8demo
npm ERR! errno -4051
npm ERR! ENOTEMPTY: directory not empty, rmdir 'C:Users86199AppDataRoaming pm-cache\_cacachempgit-clone-3e42dca8demo'

npm ERR! A complete log of this run can be found in:
npm ERR! C:Users86199AppDataRoaming pm-cache\_logs2020-12-10T07_17_16_161Z-debug.log
PS D:projectfe_pmp_v3> npm cache clear --force
npm WARN using --force I sure hope you know what you are doing.
npm ERR! code ENOTEMPTY
npm ERR! syscall rmdir
npm ERR! path C:Users86199AppDataRoaming pm-cache\_cacachempgit-clone-b0ce8daademo
npm ERR! errno -4051
npm ERR! ENOTEMPTY: directory not empty, rmdir 'C:Users86199AppDataRoaming pm-cache\_cacachempgit-clone-b0ce8daademo'


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

1 Answer

1.报错说directory not empty,你这个目录不是个空目录,你看下
2.错误码errno -4051,可以搜一下这个错误码
3.删掉你的node_modules,重新install


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