You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Source map bug introduced in 2.7.0, but passes tests #2896
Will put out a hotfix soon if the fix can be confirmed. It looks like PR #2834 introduced a bug that produces a blank source map, and throws an error like:
Reverting #2834 seems to fix it, but looking for confirmation.
Reacted by Andrew Hughson, Jakub Westfalewski, msn0, Leon Xu, Felix Becker, Oliver Foster, Oscar Busk, Jamie Curtis, David Parker, Jerome Bajou and 5 more
I'm experiencing the same issue.
I executed a git bisect and the first commit that broke the build was 470af20 which is in the PR you noted in your issue
Please fix this bug asap, or I can only froze the version to 2.6.X.
And I wish this bug could be fixed before tomorrow morning.
Appreciate it very much.
If you're having trouble with a dependency using less as a dependency and simply can't downgrade in package.json.
Do a npm shrinkwrap --dev and then modify the version of less to 2.6.1 then full npm reinstall will fix it until less.js is fixed
Reacted by Max Mikhailov, Jerome Bajou, fcharest and Olivier Lesnicki
Clearly the impact is widespread. It blocked my production release. Yes, please implement a hotfix, and provide workarounds, but in the meantime, for the love of all that is good and holy:
I've published 2.7.1 as a hotfix for 2.7.0, but it's unclear from #2881 if there isn't still an outstanding bug affecting source maps (multiple intersecting bugs from same commit?), or if that was a pre-existing bug which was introduced separately.
Hi, If my project have been compile all less file to css file already with chrun2 program.
I'm not use less.js.
Could you tell me how to do about debug css show less in get element inspector develope.
How to config sauce map?
Activity
[-]Source map bug introduced in 2.7.0.[/-][+]Source map bug introduced in 2.7.0, but passes tests[/+]matthew-dean commentedon May 8, 2016
This issue should stay open until a Less.js test is added which catches this issue, since the source map tests didn't detect the bug.
wolfy1339 commentedon May 8, 2016
I'm experiencing the same issue.
I executed a
git bisectand the first commit that broke the build was 470af20 which is in the PR you noted in your issuesunnylqm commentedon May 9, 2016
better unpublish this version
seven-phases-max commentedon May 9, 2016
It depends. For some the sourcemaps are totally insignificant if compared to for example #2841 of the previous release.
antoineol commentedon May 9, 2016
In case it can help, I could reproduce the issue with something like:
Less:
Gulp task:
felixfbecker commentedon May 9, 2016
This just broke my builds, need a patch asap...
icecreamliker commentedon May 9, 2016
Please fix this bug asap, or I can only froze the version to 2.6.X.
And I wish this bug could be fixed before tomorrow morning.
Appreciate it very much.
olivierlesnicki commentedon May 9, 2016
Production chaos on this side as well...
BramVanBerkel commentedon May 9, 2016
Crashes my gulp build as well
oBusk commentedon May 9, 2016
If you're having trouble with a dependency using less as a dependency and simply can't downgrade in package.json.
Do a
npm shrinkwrap --devand then modify the version of less to 2.6.1 then full npm reinstall will fix it until less.js is fixedgilly3 commentedon May 9, 2016
Clearly the impact is widespread. It blocked my production release. Yes, please implement a hotfix, and provide workarounds, but in the meantime, for the love of all that is good and holy:
Unless you will have 2.7.1 published within, say, the next hour, nip this in the bud and unpublish.
ReidBraswell commentedon May 9, 2016
Any line of sight for a fix on this yet?
Always use [email protected]
matthew-dean commentedon May 9, 2016
I've published 2.7.1 as a hotfix for 2.7.0, but it's unclear from #2881 if there isn't still an outstanding bug affecting source maps (multiple intersecting bugs from same commit?), or if that was a pre-existing bug which was introduced separately.
Please report back if 2.7.1 is working for you.
Bump less to version 2.7.1
felixfbecker commentedon May 9, 2016
works for me, thanks @matthew-dean
nknapp commentedon May 9, 2016
the bootprint-integration-test had failed with [email protected] and it succeeds with 2.7.1. Works for me. Thanks @matthew-dean
matthew-dean commentedon May 9, 2016
Awesome. Sorry for the broken build everyone, but glad it's working now. Will close this.
olivierlesnicki commentedon May 9, 2016
@matthew-dean good job
matthew-dean commentedon May 9, 2016
@olivierlesnicki 👍
Piyamas2507 commentedon May 27, 2016
Hi, If my project have been compile all less file to css file already with chrun2 program.
I'm not use less.js.
Could you tell me how to do about debug css show less in get element inspector develope.
How to config sauce map?