When I try to run gulp:build-client task I get an error (File not found with singular glob),
see Error Stack below. I have found out the problem but I am unsure how to solve it. In the First line of the error, it is looking for bower_components directly in my base folder(Projects) rather than the project folder(MyProject).
Please let me know how this issue can be solved.
Using gulpfile ~\Desktop\Projects\MyProject\gulpfile.js
Starting 'clean:dist'...
Starting 'install'...
Finished 'install' after 416 ms
Starting 'bower'...
Finished 'clean:dist' after 657 ms
gulp-inject 14 files into index.html.
gulp-inject 2 files into index.html.
gulp-inject 61 files into index.html.
Finished 'bower' after 634 ms
Starting 'build'...
Starting 'images'...
Starting 'html'...
Starting 'copy:extras'...
Starting 'copy:fonts'...
Starting 'copy:favicon'...
Starting 'install'...
Starting 'styles'...
Finished 'build' after 283 ms
Starting 'default'...
Finished 'default' after 29 μs
(node:10104) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Finished 'copy:extras' after 43 ms
Finished 'styles' after 41 ms
Finished 'install' after 91 ms
Starting 'bower'...
Finished 'copy:favicon' after 143 ms
Finished 'images' after 492 ms
gulp-inject 14 files into index.html.
gulp-inject 2 files into index.html.
Finished 'copy:fonts' after 547 ms
Finished 'html' after 567 ms
gulp-inject 61 files into index.html.
Finished 'bower' after 567 ms
Starting 'client:build'...
events.js:182
throw er; // Unhandled 'error' event
Error: Error: File not found with singular glob: C:\Users\Sujit\Desktop\Projects\bower_components\semantic-ui\dist\semantic.css
at DestroyableTransform.<anonymous> (C:\Users\Sujit\Desktop\Projects\MyProject\node_modules\gulp-useref\index.js:65:28)
at emitOne (events.js:120:20)
at DestroyableTransform.emit (events.js:210:7)
at emitOne (events.js:120:20)
at Through2.emit (events.js:210:7)
at OrderedStreams.<anonymous> (C:\Users\Sujit\Desktop\Projects\MyProject\node_modules\gulp-useref\node_modules\glob-stream\index.js:140:20)
at emitOne (events.js:115:13)
at OrderedStreams.emit (events.js:210:7)
at emitOne (events.js:115:13)
at DestroyableTransform.emit (events.js:210:7)
at Glob.<anonymous> (C:\Users\Sujit\Desktop\Projects\MyProject\node_modules\gulp-useref\node_modules\glob-stream\index.js:40:16)
at Object.onceWrapper (events.js:316:30)
at emitOne (events.js:115:13)
at Glob.emit (events.js:210:7)
at Glob._finish (C:\Users\Sujit\Desktop\Projects\MyProject\node_modules\gulp-useref\node_modules\glob-stream\node_modules\glob\glob.js:172:8)
at done (C:\Users\Sujit\Desktop\Projects\MyProject\node_modules\gulp-useref\node_modules\glob-stream\node_modules\glob\glob.js:159:12)
Please find below the results of yo --version && echo %PATH% %NODE_PATH% && node -e "console.log(process.platform, process.versions)" && type Gulpfile.js
When I try to run gulp:build-client task I get an error (File not found with singular glob), see Error Stack below. I have found out the problem but I am unsure how to solve it. In the First line of the error, it is looking for bower_components directly in my base folder(Projects) rather than the project folder(MyProject). Please let me know how this issue can be solved.
Please find below the results of
yo --version && echo %PATH% %NODE_PATH% && node -e "console.log(process.platform, process.versions)" && type Gulpfile.js