Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'indexOf' of null #450

Open
victorykong opened this issue Dec 14, 2021 · 1 comment
Open

TypeError: Cannot read property 'indexOf' of null #450

victorykong opened this issue Dec 14, 2021 · 1 comment

Comments

@victorykong
Copy link

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!

image
image
image

@wmasfoe
Copy link

wmasfoe commented Jan 25, 2022

@victorykong I also encountered the same problem. Try the next version?

npm i source-map@next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants