-
Notifications
You must be signed in to change notification settings - Fork 116
Transition shorthand property throws error after update on 4.0.1 #299
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
Comments
Can you test this with the less command directly? If it outputs the same thing you need to open an issue on their repository, not here since we're just wrapping that library. If it works with that command we can look into why it doesn't work here. |
This could also be a plugin of yours that isn't working right - can you include the full stacktrace? |
@contra Thanks for your feedback. No issues with direct less command. So I tried to turn off every other gulp plugin in the task and figured out it is caused by the Here is my task: gulp.task('css:styles', () => {
return gulp.src(`${paths.src}/assets/c/styles.less`)
.pipe(plumber())
.pipe(sourcemaps.init())
.pipe(less())
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest(`${paths.tmp}/assets/c`));
});
Any suggestions?:) |
@mahish Does the |
@contra Yes, it does. Error with
Error with the gulp task (without plumber):
|
So, it is an issue with the LESS itself, right? |
yeah, here is where the error is triggered: https://github.com/less/less.js/blob/master/lib/less/source-map-output.js#L72 |
Yep the error is with less itself (nothing in the stack points to gulp-less) so you should open a ticket there. |
Can we update LESS to |
@mahish Just run |
After updating to latest version
4.0.1
Im having the following problem:This does'nt work:
It throws the following error:
Cannot read property 'substring' of undefined
.However, this works just fine:
The text was updated successfully, but these errors were encountered: