gulp error: "invalid mapping"

Created on 30 December 2016, almost 8 years ago
Updated 21 June 2024, 6 months ago

After installing radix and running gulp, I get the following error:

aaron@localhost:/var/www/html/mysite.com/sites/all/themes/myradixsubtheme$ gulp
[19:27:37] Using gulpfile /var/www/html/mysite.com/sites/all/themes/myradixsubtheme/gulpfile.js
[19:27:37] Starting 'css'...
[19:27:37] Starting 'fonts'...
[19:27:37] Starting 'watch'...
[19:27:37] Finished 'watch' after 48 ms
[19:27:37] Finished 'fonts' after 140 ms

/var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/gulp-sass/node_modules/vinyl-sourcemaps-apply/node_modules/source-map/lib/source-map/source-map-generator.js:275
        throw new Error('Invalid mapping: ' + JSON.stringify({
              ^
Error: Invalid mapping: {"generated":{"line":1372,"column":17},"source":"radix/_mixins.scss","original":{"line":33,"column":-14},"name":null}
    at SourceMapGenerator_validateMapping [as _validateMapping] (/var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/gulp-sass/node_modules/vinyl-sourcemaps-apply/node_modules/source-map/lib/source-map/source-map-generator.js:275:15)
    at SourceMapGenerator_addMapping [as addMapping] (/var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/gulp-sass/node_modules/vinyl-sourcemaps-apply/node_modules/source-map/lib/source-map/source-map-generator.js:105:14)
    at /var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/gulp-sass/node_modules/vinyl-sourcemaps-apply/node_modules/source-map/lib/source-map/source-map-generator.js:76:19
    at Array.forEach (native)
    at SourceMapConsumer_eachMapping [as eachMapping] (/var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/gulp-sass/node_modules/vinyl-sourcemaps-apply/node_modules/source-map/lib/source-map/source-map-consumer.js:570:10)
    at Function.SourceMapGenerator_fromSourceMap [as fromSourceMap] (/var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/gulp-sass/node_modules/vinyl-sourcemaps-apply/node_modules/source-map/lib/source-map/source-map-generator.js:52:26)
    at applySourceMap (/var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/gulp-sass/node_modules/vinyl-sourcemaps-apply/index.js:22:40)
    at filePush (/var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/gulp-sass/index.js:83:9)
    at Object.callback (/var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/gulp-sass/index.js:123:9)
    at options.success (/var/www/html/mysite.com/sites/all/themes/myradixsubtheme/node_modules/node-sass/lib/index.js:300:32)
πŸ› Bug report
Status

Closed: outdated

Version

3.5

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States aaronelborg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024