concat = require('concat'),
uglify = require('uglifyjs');
W:\!Mary\myproject>gulp scripts
[13:43:48] Using gulpfile W:\!Mary\myproject\gulpfile.js
[13:43:48] Starting 'scripts'...
[13:43:48] 'scripts' errored after 10 ms
[13:43:48] TypeError: dest.on is not a function
at DestroyableTransform.Readable.pipe (W:\!Mary\myproject\node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:516:8)
at Gulp.<anonymous> (W:\!Mary\myproject\gulpfile.js:24:10)
at module.exports (W:\!Mary\myproject\node_modules\orchestrator\lib\runTask.js:34:7)
at Gulp.Orchestrator._runTask (W:\!Mary\myproject\node_modules\orchestrator\index.js:273:3)
at Gulp.Orchestrator._runStep (W:\!Mary\myproject\node_modules\orchestrator\index.js:214:10)
at Gulp.Orchestrator.start (W:\!Mary\myproject\node_modules\orchestrator\index.js:134:8)
at C:\Users\troshina.DC\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:9256) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: files.map is not a function