ETXTBSY: text file is busy, unlink


(Rux77) #1

I am re-creating this issue here ( since github repository has been archived) because this issue is still exist:

On my Windows 10 ( as Host ) and Linux ( as Guest ) through Vagrant.

npm v = '6.4.0'
node v = '8.11.4'

When I try to npm install

npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN rollback Rolling back bn.js@4.11.8 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/asn1.js/node_modules/bn.js/package.json.3854582942'
npm WARN rollback Rolling back asn1.js@4.10.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/asn1.js/package.json.1811465311'
npm WARN rollback Rolling back babel-plugin-transform-exponentiation-operator@6.24.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-plugin-transform-exponentiation-operator/package.json.2649083318'
npm WARN rollback Rolling back babel-plugin-transform-async-to-generator@6.24.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-plugin-transform-async-to-generator/package.json.3638692419'
npm WARN rollback Rolling back babel-plugin-syntax-async-functions@6.13.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-plugin-transform-async-to-generator/node_modules/babel-plugin-syntax-async-functions/package.json.1096105598'
npm WARN rollback Rolling back babel-plugin-transform-object-rest-spread@6.26.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-plugin-transform-object-rest-spread/package.json.3924629909'
npm WARN rollback Rolling back babel-plugin-syntax-exponentiation-operator@6.13.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-plugin-transform-exponentiation-operator/node_modules/babel-plugin-syntax-exponentiation-operator/package.json.579623754'
npm WARN rollback Rolling back babel-plugin-syntax-object-rest-spread@6.13.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-plugin-transform-object-rest-spread/node_modules/babel-plugin-syntax-object-rest-spread/package.json.3664868550'
npm WARN rollback Rolling back ansi-styles@2.2.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-register/node_modules/ansi-styles/package.json.3946869074'
npm WARN rollback Rolling back debug@2.6.9 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-register/node_modules/debug/package.json.531931671'
npm WARN rollback Rolling back babel-plugin-syntax-trailing-function-commas@6.22.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-preset-env/node_modules/babel-plugin-syntax-trailing-function-commas/package.json.3153209455'
npm WARN rollback Rolling back babel-generator@6.26.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-register/node_modules/babel-generator/package.json.296153346'
npm WARN rollback Rolling back source-map@0.5.7 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-register/node_modules/source-map/package.json.3039360763'
npm WARN rollback Rolling back debug@2.6.9 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-traverse/node_modules/debug/package.json.4079866779'
npm WARN rollback Rolling back ansi-styles@2.2.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-traverse/node_modules/ansi-styles/package.json.4075075436'
npm WARN rollback Rolling back supports-color@2.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-register/node_modules/supports-color/package.json.849600822'
npm WARN rollback Rolling back is-accessor-descriptor@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/base/node_modules/is-accessor-descriptor/package.json.2088983557'
npm WARN rollback Rolling back is-data-descriptor@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/base/node_modules/is-data-descriptor/package.json.2138875764'
npm WARN rollback Rolling back supports-color@2.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-traverse/node_modules/supports-color/package.json.4043784302'
npm WARN rollback Rolling back array-flatten@2.1.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/bonjour/node_modules/array-flatten/package.json.3568516137'
npm WARN rollback Rolling back define-property@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/base/node_modules/define-property/package.json.2411122928'
npm WARN rollback Rolling back balanced-match@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/brace-expansion/node_modules/balanced-match/package.json.1086222513'
npm WARN rollback Rolling back brace-expansion@1.1.11 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/brace-expansion/package.json.1534125796'
npm WARN rollback Rolling back browserify-aes@1.2.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/browserify-aes/package.json.2939220789'
npm WARN rollback Rolling back arr-flatten@1.1.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/braces/node_modules/arr-flatten/package.json.11603949'
npm WARN rollback Rolling back is-descriptor@1.0.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/base/node_modules/is-descriptor/package.json.2053401646'
npm WARN rollback Rolling back buffer-xor@1.0.3 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/browserify-aes/node_modules/buffer-xor/package.json.2016385221'
npm WARN rollback Rolling back array-unique@0.3.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/braces/node_modules/array-unique/package.json.3753027348'
npm WARN rollback Rolling back extend-shallow@2.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/braces/node_modules/extend-shallow/package.json.3824336506'
npm WARN rollback Rolling back browserify-rsa@4.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/browserify-rsa/package.json.99682799'
npm WARN rollback Rolling back bn.js@4.11.8 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/browserify-rsa/node_modules/bn.js/package.json.2415256250'
npm WARN rollback Rolling back bn.js@4.11.8 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/browserify-sign/node_modules/bn.js/package.json.1552051199'
npm WARN rollback Rolling back base64-js@1.3.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/buffer/node_modules/base64-js/package.json.1919229004'
npm WARN rollback Rolling back buffer@4.9.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/buffer/package.json.799278936'
npm WARN rollback Rolling back y18n@4.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/cacache/node_modules/y18n/package.json.3040593969'
npm WARN rollback Rolling back supports-color@2.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/clap/node_modules/supports-color/package.json.1815985697'
npm WARN rollback Rolling back arr-union@3.1.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/class-utils/node_modules/arr-union/package.json.2545835396'
npm WARN rollback Rolling back bluebird@3.5.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/cacache/node_modules/bluebird/package.json.3098109577'
npm WARN rollback Rolling back ansi-styles@2.2.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/clap/node_modules/ansi-styles/package.json.2554861783'
npm WARN rollback Rolling back class-utils@0.3.6 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/class-utils/package.json.2783867165'
npm WARN rollback Rolling back browserify-cipher@1.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/browserify-cipher/package.json.2870785650'
npm WARN rollback Rolling back concat-stream@1.6.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/concat-stream/package.json.3447091236'
npm WARN rollback Rolling back define-property@0.2.5 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/class-utils/node_modules/define-property/package.json.4226103341'
npm WARN rollback Rolling back buffer-from@1.1.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/concat-stream/node_modules/buffer-from/package.json.1441016412'
npm WARN rollback Rolling back bonjour@3.5.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/bonjour/node_modules/array-flatten/package.json.3568516137'
npm WARN rollback Rolling back browserify-sign@4.0.4 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/browserify-sign/node_modules/bn.js/package.json.1552051199'
npm WARN rollback Rolling back cacache@10.0.4 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/cacache/node_modules/bluebird/package.json.3098109577'
npm WARN rollback Rolling back babel-traverse@6.26.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-traverse/node_modules/babylon/package.json.2641464017'
npm WARN rollback Rolling back babel-template@6.26.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-template/node_modules/babylon/package.json.2349790650'
npm WARN rollback Rolling back babel-preset-env@1.7.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-preset-env/node_modules/browserslist/package.json.2614726900'
npm WARN rollback Rolling back clap@1.2.3 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/clap/node_modules/ansi-styles/package.json.2554861783'
npm WARN rollback Rolling back babel-register@6.26.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/babel-register/node_modules/babylon/package.json.935847759'
npm WARN rollback Rolling back braces@2.3.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/braces/node_modules/extend-shallow/package.json.3824336506'
npm WARN rollback Rolling back base@0.11.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/base/node_modules/define-property/package.json.2411122928'
npm WARN rollback Rolling back chokidar@2.0.4 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/home/vagrant/code/blog/node_modules/chokidar/node_modules/async-each/package.json.3408149291'
npm WARN babel-loader@7.1.5 requires a peer of babel-core@6 but none is installed. You must install peer dependencies yourself.
npm WARN img-loader@3.0.0 requires a peer of imagemin@^5.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! path /home/vagrant/code/blog/node_modules/babel-plugin-transform-exponentiation-operator/package.json.2649083318
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! syscall rename
npm ERR! ETXTBSY: text file is busy, rename '/home/vagrant/code/blog/node_modules/babel-plugin-transform-exponentiation-operator/package.json.2649083318' -> '/home/vagrant/code/blog/node_modules/babel-plugin-transform-exponentiation-operator/package.json'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/vagrant/.npm/_logs/2018-09-05T00_17_52_088Z-debug.log

ETXTBSY: text file is busy
(system) #2

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.