coneycode / hexo-git-backup

you can use it to backup your blog into git.
MIT License
458 stars 66 forks source link

Fatal: HEXO D cannot be deployed #35

Closed misakashiny closed 5 years ago

misakashiny commented 5 years ago

$ hexo deploy ERROR Plugin load failed: hexo-renderer-scss Error: Missing binding E:\hexo\blog\node_modules\node-sass\vendor\win32-x64-64\binding.node Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x

Found bindings for the following environments:

This usually happens because your environment has changed since running npm install. Run npm rebuild node-sass --force to build the binding for your current environment. at module.exports (E:\hexo\blog\node_modules\node-sass\lib\binding.js:15:13) at Object. (E:\hexo\blog\node_modules\node-sass\lib\index.js:14:35) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:690:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (E:\hexo\blog\node_modules\hexo-renderer-scss\lib\renderer.js:1:14) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:690:17) at require (E:\hexo\blog\node_modules\hexo\lib\hexo\index.js:219:21) at E:\hexo\blog\node_modules\hexo-renderer-scss\index.js:1:81 at fs.readFile.then.script (E:\hexo\blog\node_modules\hexo\lib\hexo\index.js:232:12) at tryCatcher (E:\hexo\blog\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (E:\hexo\blog\node_modules\bluebird\js\release\promise.js:512:31) at Promise._settlePromise (E:\hexo\blog\node_modules\bluebird\js\release\promise.js:569:18) INFO Deploying: git INFO Clearing .deploy_git folder... INFO Copying files from public folder... INFO Copying files from extend dirs... fatal: not a git repository (or any of the parent directories): .git FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html Error: fatal: not a git repository (or any of the parent directories): .git

at ChildProcess.<anonymous> (E:\hexo\blog\node_modules\hexo-util\lib\spawn.js:37:17)
at ChildProcess.emit (events.js:198:13)
at ChildProcess.cp.emit (E:\hexo\blog\node_modules\cross-spawn\lib\enoent.js:40:29)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)