Showing 1 – 2 of 2 replies
realitix

Error when building with gulp

realitix PURCHASED
2 months ago
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)

[TRUNCATED because characters limit]

Node.js v18.17.1
realitix
realitix PURCHASED
2 months ago
Installing the last version of jqvmap with npm install jqvmap fixed the problem.
Could you fix it ?
Thanks
GotBootstrap
GotBootstrap SELLER
2 months ago
Hi,

Yes I will take care of this. Thank you for posting the solution as well!!