TypeError: Cannot read property 'indexOf' of null
victorykong opened this issue · 1 comments
victorykong commented
Without using typescript or looking at the type declaration, the parameter obtained from http get query, which is passed into the originalPositionFor method as a string without processing, will result in null mapping. Then sourceContentFor will cause an error.
It is recommended that the display of the library author be converted to number, otherwise it will take a long time to check the problem and it is difficult to locate it. thank you!
wmasfoe commented
@victorykong I also encountered the same problem. Try the next version?
npm i source-map@next