上略 ~ INFODeploying: git INFOClearing .deploy_git folder... INFOCopying files from public folder... FATALSomething's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html TypeError [ERR_INVALID_ARG_TYPE]: The "mode" argument must be integer. Received an instance of Object at copyFile (node:fs:2774:10) * (HEAD detached at FETCH_HEAD) master ...skipping... at tryCatcher (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/util.js:16:23) at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:13:39) at /Users/mingyi/Documents/blog/node_modules/hexo-fs/lib/fs.js:181:12 at tryCatcher (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:638:18) at Promise._resolveCallback (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:432:57) at Promise._settlePromiseFromHandler (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:524:17) at Promise._settlePromise (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:638:18) at Promise._resolveCallback (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:432:57) at Promise._settlePromiseFromHandler (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:524:17) at Promise._settlePromise (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/Users/mingyi/Documents/blog/node_modules/bluebird/js/release/promise.js:638:18)
➜ source git:(master) ✗ nvm use 13 N/A: version "13 -> N/A" is not yet installed.
You need to run "nvm install 13" to install it before using it. ➜ source git:(master) ✗ nvm install 13 Downloading and installing node v13.14.0... Downloadinghttps://nodejs.org/dist/v13.14.0/node-v13.14.0-darwin-x64.tar.xz... ########################################################################################################################################################################### 100.0% Computing checksum with shasum -a 256 Checksums matched! Now using node v13.14.0 (npm v6.14.4) Creatingdefaultalias: default -> 13 (-> v13.14.0)
➜ source git:(master) ✗ node -v v13.14.0
➜ source git:(master) ✗ hdeploy 上略 ~ INFODeploying: git INFOClearing .deploy_git folder... INFOCopying files from public folder... INFOCopying files from extend dirs... [master 4c56324b] Siteupdated: 2021-12-0922:27:46 270 files changed, 12371insertions(+), 5926deletions(-) create mode 100644 archives/2021/12/index.html create mode 100644 post/0.html Branch'master' set up to track remote branch 'master'from'https://github.com/myctw/myctw.github.io'. INFODeploydone: git INFODeleted database. INFODeleted public folder.