Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
886 views
in Technique[技术] by (71.8m points)

gulp TypeError: must start with number, buffer, array or string

gulp前端项目时出现一个这个样的错误,求指教

events.js:141
      throw er; // Unhandled 'error' event
      ^

TypeError: must start with number, buffer, array or string
    at fromObject (buffer.js:158:9)
    at new Buffer (buffer.js:62:10)
    at DestroyableTransform._transform (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/wiredep/wiredep.js:136:23)
    at DestroyableTransform.Transform._read (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/readable-stream/lib/_stream_transform.js:159:10)
    at DestroyableTransform.Transform._write (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/readable-stream/lib/_stream_transform.js:147:83)
    at doWrite (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/readable-stream/lib/_stream_writable.js:347:64)
    at writeOrBuffer (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/readable-stream/lib/_stream_writable.js:336:5)
    at DestroyableTransform.Writable.write (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/readable-stream/lib/_stream_writable.js:274:11)
    at write (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at emitNone (events.js:67:13)
    at DestroyableTransform.emit (events.js:166:7)
    at emitReadable_ (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:448:10)
    at emitReadable (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:444:5)
    at readableAddChunk (/Users/itjuzi/Code/new-enterprise-front-end/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:187:9)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...