react-native-mathjax-html-to-svg icon indicating copy to clipboard operation
react-native-mathjax-html-to-svg copied to clipboard

Failed to parse source map due to missing TS files

Open Strengthless opened this issue 2 years ago • 0 comments

Description: Currently running on Web via Expo. Things seem to be working properly but the console is flooded with warnings.

It seems that the entire ts folder is missing from node_modules/react-native-mathjax-html-to-svg, which resulted in invalid maps.

image

Edit: We ended up having to remove the //# sourceMappingURL=XXX.js.map line from every js file, then patching the package using patch-package. This is bulky and not ideal, but it gets the job done.

Strengthless avatar Aug 01 '23 10:08 Strengthless