Error: ENOENT: no such file or directory, scandir '../src'
at Object.readdirSync (node:fs:1381:3)
at getFolders (file:///Users/ad/My%20Work/sure-webv1/sure-websrc/tools/gulp/helpers.js:339:13)
at getTheme (file:///Users/ad/My%20Work/sure-webv1/sure-websrc/tools/gulp/helpers.js:369:19)
at file:///Users/ad/My%20Work/sure-webv1/sure-websrc/tools/gulp/compile.js:35:15
at ModuleJob.run (node:internal/modules/esm/module_job:175:25)
at async Loader.import (node:internal/modules/esm/loader:178:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:437:15) {
errno: -2,
syscall: 'scandir',
code: 'ENOENT',
path: '../src'
}
I tried to work with the extension but I think it cant read a path with folder or file contain space :
gulp --tasks-simple --cwd "/Users/ad/My Work/sure-webv1/sure-websrc" --gulpfile "/Users/ad/My Work/sure-webv1/sure-websrc/tools/gulpfile.js"
Error: ENOENT: no such file or directory, scandir '../src' at Object.readdirSync (node:fs:1381:3) at getFolders (file:///Users/ad/My%20Work/sure-webv1/sure-websrc/tools/gulp/helpers.js:339:13) at getTheme (file:///Users/ad/My%20Work/sure-webv1/sure-websrc/tools/gulp/helpers.js:369:19) at file:///Users/ad/My%20Work/sure-webv1/sure-websrc/tools/gulp/compile.js:35:15 at ModuleJob.run (node:internal/modules/esm/module_job:175:25) at async Loader.import (node:internal/modules/esm/loader:178:24) at async importModuleDynamicallyWrapper (node:internal/vm/module:437:15) { errno: -2, syscall: 'scandir', code: 'ENOENT', path: '../src' }