'Invalid Mapping' Error
See original GitHub issueC:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-map-generator.js:275
throw new Error('Invalid mapping: ' + JSON.stringify({
^
Error: Invalid mapping: {"generated":{"line":1,"column":1429745},"source":"sourceMap","original":{"line":28525,"column":-1094},"name":null}
at SourceMapGenerator_validateMapping [as _validateMapping] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-map-generator.js:275:15)
at SourceMapGenerator_addMapping [as addMapping] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-map-generator.js:105:14)
at C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:350:15
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:229:11)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_walk [as walk] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:225:15)
at SourceNode_toStringWithSourceMap [as toStringWithSourceMap] (C:\projects\MyProject\node_modules\escodegen-wallaby\node_modules\source-map\lib\source-map\source-node.js:341:10)
at Object.generate (C:\projects\MyProject\node_modules\escodegen-wallaby\escodegen.js:2762:23)
at e.value (C:\projects\MyProject\node_modules\javascript-obfuscator\dist\webpack:\src\JavaScriptObfuscatorInternal.ts:129:69)
at e.value (C:\projects\MyProject\node_modules\javascript-obfuscator\dist\webpack:\src\JavaScriptObfuscatorInternal.ts:92:68)
events.js:163
throw er; // Unhandled 'error' event
^
Error: spawn node ENOENT
at notFoundError (C:\Projects\MyProject\node_modules\cross-spawn\lib\enoent.js:11:11)
at verifyENOENT (C:\Projects\MyProject\node_modules\cross-spawn\lib\enoent.js:46:16)
at ChildProcess.cp.emit (C:\Projects\MyProject\node_modules\cross-spawn\lib\enoent.js:33:19)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
My Plugins:
plugins: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production')
}),
new ExtractTextPlugin('style.css'),
new BundleAnalyzerPlugin({
analyzerMode: process.env.OPEN_ANALYZER === 'true' ? 'server' : 'disabled',
openAnalyzer: process.env.OPEN_ANALYZER === 'true'
}),
new JavaScriptObfuscator({
disableConsoleOutput: false,
rotateUnicodeArray: true,
encodeUnicodeLiterals: true
}),
I’m not using devtool
to generate sourcemaps. I’m not sure where to begin with debugging this. Any thoughts? Thanks very much for reading.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Webpack invalid mapping · Issue #720 - GitHub
When each of the below component stylesheets are imported by "app.scss" the compiler fails. Remove one of the imports, or remove line #94...
Read more >Run Build command in React is giving me Error: Invalid Mapping
I believe the problem lies in postcss . I'm able to build successfully by force downgrading postcss to 8.4.5 in package.json :
Read more >How to address error "Invalid Mapping Data" with mappings ...
How to address error "Invalid Mapping Data" with mappings deleted messages during reviewing and completing any OOB transform map in IntegrationHub ETL.
Read more >Resolve Invalid mapping expression specified errors from API ...
API Gateway returns an Invalid mapping expression specified error when the proxy path parameter {proxy+} doesn't have a defined a URL path ......
Read more >Error: AggregationException: Invalid mapping
The exact version of the open source CloverETL engine in which you ran the graph that failed with the 'invalid mapping error'. The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1
Closed as old. Please try on latest version.