0
everyone!我安裝了mibew版本。 2.2.2(運行良好)並想對其進行更改(添加並構建新的「樣式」)。 OS - 窗口10.一種用於建立源所以,我還安裝工具:PHP對mibew實時聊天的gulp默認解析錯誤
- [CMD]節點-v => v 8.1.3
- [CMD] NPM -v => v 5.0。 4
- [CMD]吞-v => CLI版本1.3.0本地版本3.9.1
- [CMD] PHP -R 「回波phpversion();」 =>35年4月5日
然後,我donwloaded source-archive並按照instructions。 結果我得到這個:
D:\www\home\mibew\loc\src>gulp default
[16:52:05] Using gulpfile D:\www\home\mibew\loc\src\gulpfile.js
[16:52:05] Starting 'default'...
[16:52:05] Starting 'clean'...
[16:52:05] Finished 'clean' after 127 ms
[16:52:05] Starting 'js'...
[16:52:05] Starting 'chat-styles-handlebars'...
[16:52:05] Starting 'chat-styles-js'...
[16:52:05] Starting 'page-styles'...
[16:52:05] Finished 'chat-styles-js' after 276 ms
[16:52:06] Finished 'page-styles' after 801 ms
[16:52:07] Finished 'chat-styles-handlebars' after 1.41 s
[16:52:07] Starting 'chat-styles'...
[16:52:07] Finished 'chat-styles' after 51 μs
[16:52:07] Finished 'js' after 2.04 s
[16:52:07] Starting 'get-composer'...
[16:52:07] Starting 'bower-install'...
[16:52:08] 'get-composer' errored after 794 ms
[16:52:08] Error: PHP Parse error: syntax error, unexpected end of file in - on line 1472
at formatError (C:\Users\Nika\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^3.7.0\formatError.js:20:10)
at Gulp.<anonymous> (C:\Users\Nika\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^3.7.0\log\events.js:41:15)
at emitOne (events.js:120:20)
at Gulp.emit (events.js:210:7)
at Gulp.Orchestrator._emitTaskDone (D:\www\home\mibew\loc\src\node_modules\orchestrator\index.js:264:8)
at D:\www\home\mibew\loc\src\node_modules\orchestrator\index.js:275:23
at finish (D:\www\home\mibew\loc\src\node_modules\orchestrator\lib\runTask.js:21:8)
at cb (D:\www\home\mibew\loc\src\node_modules\orchestrator\lib\runTask.js:29:3)
at D:\www\home\mibew\loc\src\gulpfile.js:108:13
at ChildProcess.exithandler (child_process.js:277:5)
[16:52:08] 'default' errored after 2.96 s
[16:52:08] Error in plugin 'run-sequence(get-composer)'
Error
at finish (D:\www\home\mibew\loc\src\node_modules\run-sequence\index.js:56:13)
at Gulp.onError (D:\www\home\mibew\loc\src\node_modules\run-sequence\index.js:67:4)
at emitOne (events.js:120:20)
at Gulp.emit (events.js:210:7)
at Gulp.Orchestrator._emitTaskDone (D:\www\home\mibew\loc\src\node_modules\orchestrator\index.js:264:8)
at D:\www\home\mibew\loc\src\node_modules\orchestrator\index.js:275:23
at finish (D:\www\home\mibew\loc\src\node_modules\orchestrator\lib\runTask.js:21:8)
at cb (D:\www\home\mibew\loc\src\node_modules\orchestrator\lib\runTask.js:29:3)
at D:\www\home\mibew\loc\src\gulpfile.js:108:13
at ChildProcess.exithandler (child_process.js:277:5)
[16:52:12] Finished 'bower-install' after 5.05 s
請告訴我,是什麼原因造成的錯誤?哪裏不對?謝謝。