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
ByteFence create problem. uninstall and npm install worked fine.
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.
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.
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.
uninstall or stop ByteFence and it will run
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.