Skip to content

Instantly share code, notes, and snippets.

@vuorinem
Created July 6, 2019 22:41
Show Gist options
  • Save vuorinem/f3f38791333ec500f82c829f7b27d45e to your computer and use it in GitHub Desktop.
Save vuorinem/f3f38791333ec500f82c829f7b27d45e to your computer and use it in GitHub Desktop.
AureliaAzurePipelines - Webpack sourcemaps error
EXEC : error : original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values. [/home/vsts/work/1/s/project.csproj]
at SourceMapGenerator_validateMapping [as _validateMapping] (/home/vsts/work/1/s/node_modules/source-map/lib/source-map-generator.js:276:15)
at SourceMapGenerator_addMapping [as addMapping] (/home/vsts/work/1/s/node_modules/source-map/lib/source-map-generator.js:110:12)
at /home/vsts/work/1/s/node_modules/source-map/lib/source-map-generator.js:72:17
at Array.forEach (<anonymous>)
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as eachMapping] (/home/vsts/work/1/s/node_modules/source-map/lib/source-map-consumer.js:157:14)
at Function.SourceMapGenerator_fromSourceMap [as fromSourceMap] (/home/vsts/work/1/s/node_modules/source-map/lib/source-map-generator.js:48:24)
at SourceMapSource.node (/home/vsts/work/1/s/node_modules/webpack-sources/lib/SourceMapSource.js:32:35)
at SourceMapSource.proto.sourceAndMap (/home/vsts/work/1/s/node_modules/webpack-sources/lib/SourceAndMapMixin.js:30:18)
at getTaskForFile (/home/vsts/work/1/s/node_modules/webpack/lib/SourceMapDevToolPlugin.js:37:30)
at files.forEach (/home/vsts/work/1/s/node_modules/webpack/lib/SourceMapDevToolPlugin.js:136:20)
at Array.forEach (<anonymous>)
at compilation.hooks.afterOptimizeChunkAssets.tap (/home/vsts/work/1/s/node_modules/webpack/lib/SourceMapDevToolPlugin.js:130:12)
at SyncHook.eval [as call] (eval at create (/home/vsts/work/1/s/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
at SyncHook.lazyCompileHook (/home/vsts/work/1/s/node_modules/tapable/lib/Hook.js:154:20)
at hooks.optimizeChunkAssets.callAsync.err (/home/vsts/work/1/s/node_modules/webpack/lib/Compilation.js:1315:42)
at _err0 (eval at create (/home/vsts/work/1/s/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:11:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment