-
Notifications
You must be signed in to change notification settings - Fork 305
Closed
Description
Version: v7.3.0
Platform :Linux me-via-3384591 4.2.0-c9 #2 SMP Thu Oct 20 09:52:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Subsystem:
I'm seeing the following error when running 'gulp' on a install that runs bootstrap-sass:
/home/ubuntu/workspace/wp-content/themes/mysite-sage/node_modules/source-map/lib/source-map-generator.js:277
throw new Error('Invalid mapping: ' + JSON.stringify({
^
Error: Invalid mapping: {"generated":{"line":2872,"column":48},"source":"../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss","original":{"line":46,"column":-13},"name":null}
It looks like source-map doesn't like bootstrap-sass's ampersands.
The actual line that the error refers to looks like:
&:focus,
&.focus {
color: $color;
background-color: darken($background, 10%);
border-color: darken($border, 25%);
}
If I add a space after the ampersand, the error jumps down to the next line with an ampersand, etc.
Is there a way around this? Maybe a different version is needed to run bootstrap-sass??
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels