Hello, Thanks for your theme. I followed your tutorial but when I try to build with gulp I got an error.
> gulp --version CLI version: 2.2.0 Local version: 4.0.2
> gulp build
[16:40:03] Using gulpfile ~/smartadmin-4.6.0-html-full/gulpfile.js [16:40:03] Starting 'build'... [16:40:03] Starting 'build-bundle'... ==================> Generating bundles... [16:40:03] Finished 'build-bundle' after 80 ms [16:40:03] Starting 'build-nav'... ==================> Generating nav.hbs... [16:40:03] Finished 'build-nav' after 13 ms [16:40:03] Starting 'build-html'... ==================> Building HTML pages [16:40:03] The following tasks did not complete: build, build-html [16:40:03] Did you forget to signal async completion? node:events:492 throw er; // Unhandled 'error' event ^
Error: File not found with singular glob: /home/realitix/git/exafact/auditor2-frontend-template/smartadmin-4.6.0-html-full/node_modules/jqvmap/dist/maps/jquery.vmap.algeria.js (if this was purposeful, use `allowEmpty` option) at Glob.<anonymous> (/home/realitix/git/exafact/auditor2-frontend-template/smartadmin-4.6.0-html-full/node_modules/glob-stream/readable.js:84:17) at Object.onceWrapper (node:events:629:26) at Glob.emit (node:events:514:28) at Glob.emit (node:domain:489:12) at Glob._finish (/home/realitix/git/exafact/auditor2-frontend-template/smartadmin-4.6.0-html-full/node_modules/glob/glob.js:197:8)
Error when building with gulp
Thanks for your theme.
I followed your tutorial but when I try to build with gulp I got an error.
> gulp --version
CLI version: 2.2.0
Local version: 4.0.2
> gulp build
[16:40:03] Using gulpfile ~/smartadmin-4.6.0-html-full/gulpfile.js
[16:40:03] Starting 'build'...
[16:40:03] Starting 'build-bundle'...
==================> Generating bundles...
[16:40:03] Finished 'build-bundle' after 80 ms
[16:40:03] Starting 'build-nav'...
==================> Generating nav.hbs...
[16:40:03] Finished 'build-nav' after 13 ms
[16:40:03] Starting 'build-html'...
==================> Building HTML pages
[16:40:03] The following tasks did not complete: build, build-html
[16:40:03] Did you forget to signal async completion?
node:events:492
throw er; // Unhandled 'error' event
^
Error: File not found with singular glob: /home/realitix/git/exafact/auditor2-frontend-template/smartadmin-4.6.0-html-full/node_modules/jqvmap/dist/maps/jquery.vmap.algeria.js (if this was purposeful, use `allowEmpty` option)
at Glob.<anonymous> (/home/realitix/git/exafact/auditor2-frontend-template/smartadmin-4.6.0-html-full/node_modules/glob-stream/readable.js:84:17)
at Object.onceWrapper (node:events:629:26)
at Glob.emit (node:events:514:28)
at Glob.emit (node:domain:489:12)
at Glob._finish (/home/realitix/git/exafact/auditor2-frontend-template/smartadmin-4.6.0-html-full/node_modules/glob/glob.js:197:8)
[TRUNCATED because characters limit]
Node.js v18.17.1
Could you fix it ?
Thanks
Yes I will take care of this. Thank you for posting the solution as well!!