Issue
I am seeing an error banner at the top of my issue that is saying "Missing Sources Context". What does it mean?
Applies To
- All Customers
- Source Maps
- TypeScript
Resolution
Usually the issue here is that the map files lack the sourcesContent:
key. That is where the actual code is stored in the map file and what we use to display the code in the UI. The .map
file has the mappings
key which lets us show the line and column numbers, and it has the sources
key, letting us show the actual filename.
In your tsconfig
options, please ensure that you have inlineSources
set to true. That option specifically sets the sourcesContent key to the map file.
If you are not calling typescript directly, try to change your web.config.js
file for WebPack by setting devtool
to source-map
.