I
I
ilya granovskyy2020-12-14 04:45:24
gulp.js
ilya granovskyy, 2020-12-14 04:45:24

Why is gulp not finding the file?

installed gulp .prescribing settings crashes error

C:\Users\Lenovo\Desktop\my files\my projects\Shop Site\fls-gulp>gulp
[03:29:40] Using gulpfile ~\Desktop\my files\my projects\Website Store\fls-gulp\gulpfile.js
[03:29:40] Starting 'default'...
[03:29:40] Starting 'watchFiles'...
[03:29:40] Starting 'browserSync'.. .
[03:29:40] Starting 'clean'...
[03:29:40] Finished 'clean' after 94 ms
[03:29:40] Starting 'css'...
[03:29:40] Starting 'html'...
[03:29:40] 'css' errored after 30 ms
[03:29:40] Error: File not found with singular glob: C:/Users/Lenovo/Desktop/my files/my projects/Shop website/fls-gulp/#src/scss/style.scss (if this was purposeful, use `allowEmpty` option)
at Glob. (C:\Users\Lenovo\Desktop\my files\my projects\Store Site\fls-gulp\node_modules\glob-stream\readable.js:84:17)
at Object.onceWrapper (events.js:422:26)
at Glob.emit (events.js:315:20)
at Glob.EventEmitter.emit (domain.js:486:12)
at Glob._finish (C:\Users\Lenovo\Desktop\my files\my projects\Shop Site \fls-gulp\node_modules\glob\glob.js:197:8)
at done (C:\Users\Lenovo\Desktop\my files\my projects\Shop Site\fls-gulp\node_modules\glob\glob.js: 182:14)
at Glob._processSimple2 (C:\Users\Lenovo\Desktop\my files\my projects\Store Site\fls-gulp\node_modules\glob\glob.js:688:12)
at C:\Users\Lenovo \Desktop\my files\my projects\Store Site\fls-gulp\node_modules\glob\glob.js:676:10
at Glob._stat2 (C:\Users\Lenovo\Desktop\my files\my projects\Store Site\fls-gulp\node_modules\glob\glob.js:772:12)
at lstatcb_ (C:\Users\Lenovo\Desktop \my files\my projects\Shop Site\fls-gulp\node_modules\glob\glob.js:764:12)
[03:29:40] 'default' errored after 148 ms

C:\Users\Lenovo\Desktop\my files\my projects\Shop website\fls-gulp>
here is the code: https://codepen.io/ilyaaa/pen/qBadRNp?editors=1010
here is the source video from the installation watch https://www.youtube.com/watch? v=stFOy0Noahg&t=1988s 38:26 ----39:44
Gulp throws an error and the dist folder disappears.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question