Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm ERR! tarball.destroy is not a function

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 install react-dom
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No license field.
npm WARN retry will retry, error on last attempt: Error: EBUSY: resource busy or locked, rename 'C:\Users\NOI-DE~1\AppData\Local\Temp\npm-3064-f12f714d\registry.npmjs.org\react-dom\-\react-dom-0.14.8.tgz.2090210803' -> 'C:\Users\NOI-DE~1\AppData\Local\Temp\npm-3064-f12f714d\registry.npmjs.org\react-dom\-\react-dom-0.14.8.tgz'
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "react-dom"
npm ERR! node v4.4.3
npm ERR! npm  v2.15.1

npm ERR! tarball.destroy is not a function
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm WARN retry will retry, error on last attempt: Error: EBUSY: resource busy or locked, rename 'C:\Users\NOI-DE~1\AppData\Local\Temp\npm-3064-f12f714d\registry.npmjs.org\react-dom\-\react-dom-0.14.8.tgz.2000813013' -> 'C:\Users\NOI-DE~1\AppData\Local\Temp\npm-3064-f12f714d\registry.npmjs.org\react-dom\-\react-dom-0.14.8.tgz'
like image 208
Ningappa Avatar asked Apr 25 '16 08:04

Ningappa


3 Answers

We met the same issue in one Dell computer. Finally we found it was caused by the ByteFence Anti-malware software. After we uninstalled it, npm works.

like image 137
Yao Avatar answered Oct 19 '22 23:10

Yao


yes It is caused by the anti-malware software

like image 21
Ningappa Avatar answered Oct 19 '22 23:10

Ningappa


I had the same issue before. On removing anti-malware(ByteFence) it worked like a charm.

like image 6
user3095098 Avatar answered Oct 20 '22 01:10

user3095098