-
Notifications
You must be signed in to change notification settings - Fork 366
Closed
Description
TypeError: Cannot read property 'substr' of undefined
at Function. (...\node_modules\webpack-sources\node_modules\source-map\lib\source-node.js:115:26)
Version: 0.5.6
This problem seems to be related to trying to parse a js file containing a long //# sourceMappingURL at the end. For example, by trying to use the typemoq library in an Angular 2 application, as per this SO issue:
If I delete the //# sourceMappingURL line from typemoq.js the source node loads fine.
DenysVuika, tujlaky, AravindhGopi, thejefflarson, nfriend and 1 more
Metadata
Metadata
Assignees
Labels
No labels