TypeError: Cannot read property 'on' of undefined?at Transform.Readable.pipe (_stream_readable.js:501:7)??? at Gulp.<anonymous> (C:\Users\xx\Documents\xx\ResponsiveWeb\gulpfile.js:21:10)??? at module.exports (C:\Users\xx\Documents\xx\ResponsiveWeb\node_modules\orchestrator\lib\runTask.js:34:7)??? at Gulp.Orchestrator._runTask (C:\Users\xx\Documents\xx\ResponsiveWeb\node_modules\orchestrator\index.js:273:3)??? at Gulp.Orchestrator._runStep (C:\Users\xx\Documents\xx\ResponsiveWeb\node_modules\orchestrator\index.js:214:10)??? at Gulp.Orchestrator.start (C:\Users\xx\Documents\xx\ResponsiveWeb\node_modules\orchestrator\index.js:134:8)??? at C:\Users\xx\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129:20??? at _combinedTickCallback (internal/process/next_tick.js:73:7)??? at process._tickCallback (internal/process/next_tick.js:104:9)??? at Module.runMain (module.js:606:11)
在學習所向披靡的響應式開發中,在打包發布進行代碼壓縮時使用node.js出現以下報錯,怎么解決?
JACK1230
2017-04-12 16:13:13