gulp服务未处理的错误

时间:2016-11-03 09:10:04

标签: node.js npm gulp yeoman

所以我的朋友在github上创建了存储库。 我们正在使用自耕农。 所以我在我的电脑上克隆它并按照https://github.com/yeoman/generator-webapp的说明操作。 当我使用gulp服务时问题就出现了,我收到以下错误:

$ gulp serve
[10:00:33] Using gulpfile D:\Projekti programiranje\PracticeBand\gulpfile.js
[10:00:33] Starting 'serve'...
[10:00:33] Starting 'clean'...
[10:00:33] Starting 'wiredep'...
[10:00:33] Finished 'wiredep' after 18 ms
[10:00:33] Finished 'serve' after 27 ms
[10:00:33] Finished 'clean' after 32 ms
[10:00:33] Starting 'styles'...
[10:00:34] Starting 'scripts'...
[10:00:34] Starting 'fonts'...
events.js:160
  throw er; // Unhandled 'error' event
  ^

TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
at fromObject (buffer.js:262:9)
at Function.Buffer.from (buffer.js:101:10)
at new Buffer (buffer.js:80:17)
at DestroyableTransform._transform (D:\Projekti programiranje\PracticeBand\node_modules\wiredep\wiredep.js:136:23)
at DestroyableTransform.Transform._read (D:\Projekti programiranje\PracticeBand\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:159:10)
at DestroyableTransform.Transform._write (D:\Projekti programiranje\PracticeBand\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:147:83)
at doWrite (D:\Projekti programiranje\PracticeBand\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:313:64)
at writeOrBuffer (D:\Projekti programiranje\PracticeBand\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:302:5)
at DestroyableTransform.Writable.write (D:\Projekti programiranje\PracticeBand\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:241:11)
at write (D:\Projekti programiranje\PracticeBand\node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:623:24)

请帮助解决这个问题。

0 个答案:

没有答案