[14:43:06] TypeError: Cannot read property '0' of null at Function.module.exports.Commit.actor (D:\GitHub\gulpSample\node_modules\gift\lib\commit.js:145:56) at Function.module.exports.Commit.parse_commits (D:\GitHub\gulpSample\node_modules\gift\lib\commit.js:111:21) at D:\GitHub\gulpSample\node_modules\gift\lib\commit.js:55:39 at ChildProcess.exithandler (child_process.js:288:7) at ChildProcess.emit (events.js:188:13) at ChildProcess.EventEmitter.emit (domain.js:457:23) at maybeClose (internal/child_process.js:978:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
後來上網找了一下解決方法主要是 gulp-gh-pages 這個套件有問題,問題基本上只需要依照以下指令進入 node_modules/gulp-gh-pages 安裝指定版本的 gift 就可以解決了。