themesberg / volt-bootstrap-5-dashboard

Free and open source Bootstrap 5 Admin Dashboard Template with vanilla Javascript
https://themesberg.com/docs/volt-bootstrap-5-dashboard/getting-started/quick-start/
MIT License
2.62k stars 303 forks source link

Trying to use GULP to minify CSS and getting errors #71

Open pixelicous opened 2 years ago

pixelicous commented 2 years ago

Hi, Working with NPM 8.3.0 and Node 17.3.0

I've cloned the repository From NPM Install I get

added 835 packages, and audited 836 packages in 3m 15 vulnerabilities (8 moderate, 7 high)

Gulp runs, and starts a local server, but the index.html is all wrong (volt.css) problem most probably

From gulp:dist I get

[01:18:45] Starting 'copy:dist:css'... Error in plugin "sass" Message: node_modules/vanillajs-datepicker/sass/datepicker.scss Error: Invalid CSS after "...ize-base * math": expected expression (e.g. 1px, bold), was ".div(7, 8);" on line 53 of node_modules/vanillajs-datepicker/sass/datepicker.scss from line 27 of src/scss/volt.scss

-shrinked-width: $dp-cell-size-base * math.div(7, 8);

Then

[01:17:55] Error: File not found with singular glob: /my_root_folder/volt-bootstrap-5-dashboard/dist/css/volt.css (if this was purposeful, use allowEmpty option) at Glob. (/Users/netzerr/gitlab/titan/ui/volt-bootstrap-5-dashboard/node_modules/glob-stream/readable.js:84:17) at Object.onceWrapper (node:events:510:26) at Glob.emit (node:events:390:28) at Glob.emit (node:domain:475:12) at Glob._finish (/Users/netzerr/gitlab/titan/ui/volt-bootstrap-5-dashboard/node_modules/glob/glob.js:194:8) at done (/Users/netzerr/gitlab/titan/ui/volt-bootstrap-5-dashboard/node_modules/glob/glob.js:179:14) at Glob._processSimple2 (/Users/netzerr/gitlab/titan/ui/volt-bootstrap-5-dashboard/node_modules/glob/glob.js:685:12) at /Users/netzerr/gitlab/titan/ui/volt-bootstrap-5-dashboard/node_modules/glob/glob.js:673:10 at Glob._stat2 (/Users/netzerr/gitlab/titan/ui/volt-bootstrap-5-dashboard/nodemodules/glob/glob.js:769:12) at lstatcb (/Users/netzerr/gitlab/titan/ui/volt-b