Gulp - Lidando com latência e banda - Video 3 Erro da execução da tarefa 'default' do Gulp, Ao executar as tarefas separadamente nenhum erro é gerado, porém ao rodar todas dentro da tarefa 'default', um erro de execução é retornado:
[10:46:15] Using gulpfile C:\Alura\01-capitulo\projeto\gulpfile.js [10:46:15] Starting 'clean'... [10:46:15] Finished 'clean' after 40 ms [10:46:15] Starting 'copy'... [10:46:15] Finished 'copy' after 139 ms [10:46:15] Starting 'default'... [10:46:15] Starting 'clean'... [10:46:15] Starting 'build-js'... [10:46:15] Starting 'build-html'... [10:46:15] Finished 'default' after 12 ms events.js:154 throw er; // Unhandled 'error' event ^
Error: ENOENT: no such file or directory, open 'C:\Alura\01-capitulo\projeto\dis
t\index.html'
at Error (native)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lesson1@1.0.0 gulp: gulp "default"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lesson1@1.0.0 gulp script 'gulp "default"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the lesson1 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp "default"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs lesson1
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls lesson1
npm ERR! There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Azevedo\AppData\Roaming\npm-cache_logs\2017-04-11T13_46_1 6_032Z-debug.log