Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pixelicous opened this issue Jan 1, 2022 · 0 comments
Open

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

pixelicous opened this issue Jan 1, 2022 · 0 comments

Comments

@pixelicous
Copy link

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/node_modules/glob/glob.js:769:12)
at lstatcb
(/Users/netzerr/gitlab/titan/ui/volt-b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant