npm ERR! tarball.destroy is not a function

后端 未结 15 717
囚心锁ツ
囚心锁ツ 2021-01-03 20:39

Hi I\'m having issue while installing react-dom module.

I\'m able install other modules like react express modules, on windows 10. 64 bit machine

npm         


        
相关标签:
15条回答
  • 2021-01-03 21:17

    ByteFence create problem. uninstall and npm install worked fine.

    0 讨论(0)
  • 2021-01-03 21:17

    I was using npm in dell machine. I met the same issue (tarball.destroy is not a function). At the time I had installed anti-malware software. Then I had uninstalled it, then npm working fine. This is my suggestion.

    0 讨论(0)
  • 2021-01-03 21:19

    I got this error when I was out of disk space.

    Deleting my /root/dump files, and dropping a very large mongo db, then doing a server reboot fixed this issue for me.

    0 讨论(0)
  • 2021-01-03 21:19

    I found mentioned folder (e.g 'npm-3064-f12f714d') unmarked as being readonly and I think that helped. The difference also was that I run command from cmd and earlier I did it from VS Code, but I think it doesn't matter.

    0 讨论(0)
  • uninstall or stop ByteFence and it will run

    0 讨论(0)
  • 2021-01-03 21:20

    Try: npm cache clean, if the issue exists try renaming the folder npm-3064-f12f714d in the mentioned path C:\Users\NOI-DE~1\AppData\Local\Temp\npm-3064-f12f714d for the issue mentioned above.

    0 讨论(0)
提交回复
热议问题