question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hey, @jakubpawlowicz. I haven’t had a chance to test #51 yet, but decided to give 5.0.1 a go with our current main branch. I keep getting this on Windows:

C:\Users\xmr\Desktop\bootstrap>npm run css-minify

> bootstrap@5.0.0-beta2 css-minify C:\Users\xmr\Desktop\bootstrap
> npm-run-all --parallel css-minify-*


> bootstrap@5.0.0-beta2 css-minify-rtl C:\Users\xmr\Desktop\bootstrap
> cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.rtl.min.css dist/css/bootstrap.rtl.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.rtl.min.css dist/css/bootstrap-grid.rtl.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-utilities.rtl.min.css dist/css/bootstrap-utilities.rtl.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.rtl.min.css dist/css/bootstrap-reboot.rtl.css


> bootstrap@5.0.0-beta2 css-minify-main C:\Users\xmr\Desktop\bootstrap
> cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-utilities.min.css dist/css/bootstrap-utilities.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css

WARNING: Ignoring local source map at "C:\Users\xmr\Desktop\bootstrap\bootstrap.css.map" as resource is missing.
WARNING: Ignoring local source map at "C:\Users\xmr\Desktop\bootstrap\bootstrap.rtl.css.map" as resource is missing.
WARNING: Ignoring local source map at "C:\Users\xmr\Desktop\bootstrap\bootstrap-grid.css.map" as resource is missing.
WARNING: Ignoring local source map at "C:\Users\xmr\Desktop\bootstrap\bootstrap-grid.rtl.css.map" as resource is missing.
WARNING: Ignoring local source map at "C:\Users\xmr\Desktop\bootstrap\bootstrap-utilities.css.map" as resource is missing.
WARNING: Ignoring local source map at "C:\Users\xmr\Desktop\bootstrap\bootstrap-utilities.rtl.css.map" as resource is missing.
WARNING: Ignoring local source map at "C:\Users\xmr\Desktop\bootstrap\bootstrap-reboot.css.map" as resource is missing.
WARNING: Ignoring local source map at "C:\Users\xmr\Desktop\bootstrap\bootstrap-reboot.rtl.css.map" as resource is missing.

It seems something is wrong with paths on Windows because the referenced map filepaths are wrong. dist/css is missing.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jakubpawlowiczcommented, Apr 8, 2021

@XhmikosR yup, since 5.0 --with-rebase is needed - see https://github.com/jakubpawlowicz/clean-css-cli#whats-new-in-version-50

I have just pushed two fixes to source maps and rebasing in main branch, maybe that’s something that will make it work for you.

0reactions
jakubpawlowiczcommented, Mar 31, 2022

Closing as ‘won’t fix’ as clean-css-cli is going into maintenance mode. If anyone wants to bring it back up, please submit a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vulnerabilities in Warnings 5.0.1 - CyberSecurity Help
List of known vulnerabilities in Warnings in version 5.0.1.
Read more >
MongoDB Alerts
This page lists critical alerts and advisories for MongoDB. See the MongoDB JIRA for a comprehensive list of bugs and feature requests. RSS...
Read more >
5.0.1 warnings · Issue #57 · clean-css/clean-css-cli - GitHub
Hey, @jakubpawlowicz. I haven't had a chance to test #51 yet, but decided to give 5.0.1 a go with our current main branch....
Read more >
[DOCS-14741] "Future-proof" version warnings for 4.4 and 5.0 ...
At these two locations we have four warning boxes, warning against using versions 4.4.5, 4.4.7, 5.0.0, and 5.0.1. Each warning is of the...
Read more >
Alerts · Bootstrap v5.0
"alert alert-success" · A simple success alert—check it out! · "alert alert-danger" ; "alert alert-warning" · A simple warning alert—check it out! ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found