Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
891 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 Reply

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...