luceos I tried this time... still got the same error I think.
[root@VM_0_11_centos ~]# cd /www/wwwroot/bbs.csur.fun/vendor/flarum/core/js
[root@VM_0_11_centos js]# npm install
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/has-values-a73b33ba/package.json'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/has-values-a73b33ba/README.md'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/helper-module-imports-5b65ee3f/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/plugin-proposal-async-generator-functions-b129a5c8/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/has-values-a73b33ba/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/helper-module-imports-5b65ee3f/README.md'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/has-values-a73b33ba/index.js'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/helper-split-export-declaration-74debc45/package.json'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/helper-split-export-declaration-74debc45/lib/index.js'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/generator-2d643897/lib/node/index.js'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/generator-2d643897/lib/node/parentheses.js'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/generator-2d643897/lib/node/whitespace.js'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/generator-2d643897/lib/printer.js'
npm WARN tar ENOENT: no such file or directory, open '/www/wwwroot/bbs.csur.fun/vendor/flarum/core/js/node_modules/.staging/@babel/generator-2d643897/lib/source-map.js'
npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q git://github.com/tobscure/m.attrs.bidi.git /root/.npm/_cacache/tmp/git-clone-85a69dd5/.git
npm ERR! fatal: Can not create a pilot directory for '/root/.npm/_cacache/tmp/git-clone-85a69dd5/.git'
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-03-03T13_25_33_613Z-debug.log
[root@VM_0_11_centos js]# cd /root/.npm/_logs/