The `hexo d` respond `Error` but without a message.
LangInteger opened this issue · comments
Lang Liu commented
Check List
Please check followings before submitting a new issue.
- I have already read Docs page & Troubleshooting page
- I have already searched existing issues and they are not help to me
- I examined error or warning messages and it's difficult to solve
- Using the latest version of Hexo (run
hexo version
to check) - Node.js is higher than minimum required version
Expected behavior
hexo d
should deploy successfully
Actual behavior
Error without message
PS D:\gitrepo\LangInteger.github.io> hexo d
INFO Deploying: git
INFO Setting up Git deployment...
Initialized empty Git repository in D:/gitrepo/LangInteger.github.io/.deploy_git/.git/
[master (root-commit) 4104cdb] First commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 placeholder
INFO Clearing .deploy_git folder...
INFO Copying files from public folder...
INFO Copying files from extend dirs...
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
Error
at ChildProcess.<anonymous> (D:\gitrepo\LangInteger.github.io\node_modules\hexo-util\lib\spawn.js:37:17)
at ChildProcess.emit (events.js:196:13)
at ChildProcess.cp.emit (D:\gitrepo\LangInteger.github.io\node_modules\cross-spawn\lib\enoent.js:40:29)
at maybeClose (internal/child_process.js:1000:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:5)
How to reproduce?
- Step1
- Step2
- etc...
Is the problem still there under "Safe mode"?
Environment & Settings
Node.js & npm version(node -v && npm -v
)
PS D:\gitrepo\LangInteger.github.io> node -v
v12.0.0
PS D:\gitrepo\LangInteger.github.io> npm -v
6.9.0
Your site _config.yml
(Optional)
Hexo and Plugin version(npm ls --depth 0
)
PS D:\gitrepo\LangInteger.github.io> npm ls --depth 0
hexo-site@0.0.0 D:\gitrepo\LangInteger.github.io
+-- hexo@3.9.0
+-- hexo-asset-image@0.0.3
+-- hexo-deployer-git@0.3.1
+-- hexo-generator-archive@0.1.5
+-- hexo-generator-category@0.1.3
+-- hexo-generator-index@0.2.1
+-- hexo-generator-json-content@3.0.1
+-- hexo-generator-tag@0.2.0
+-- hexo-renderer-ejs@0.3.1
+-- hexo-renderer-marked@0.3.2
+-- hexo-renderer-stylus@0.3.3
`-- hexo-server@0.2.2
Your package.json package.json
Others
I can push to the repo without any issue, and I tried set repository url in _config.yml
as git@github.com
instead of https://github.com
format and it does not help.
Uiolee commented
try to update Hexo and Plugin version