Open loescornelis opened 1 month ago
Same here: Turf 7.1.0 with React 18. Has anyone fixed this issue?
[REACT] WARNING in ./node_modules/@turf/jsts/dist/jsts.min.js
[REACT] Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
[REACT] Failed to parse source map from './node_modules/@turf/jsts/dist/jsts.min.js.map' file: Error: ENOENT: no such file or directory, open './node_modules/@turf/jsts/dist/jsts.min.js.map'
Hi @loescornelis and @VadimCiv. Is this just a warning displayed in dev mode? Or is it affecting the functionality of your app?
I ask because I don't believe @turf/jsts ever included a map file.
@smallsaucepan
displayed in dev mode, IDK if affecting the functionality
Ok thanks. Will wait to see if @loescornelis is having a different experience. If it isn't affecting functionality though, it will be pretty low priority.
It's possible the warning has always been there and source-map-loader has only recently started noticing it.
@smallsaucepan
As far as I can tell it's not affecting functionality. We've managed to hide the warning for now :+1:
After updating to version 7.1.0 (From 6.5.0) we get the following error:
WARNING in ../../node_modules/@turf/jsts/dist/jsts.min.js Module Warning (from ../../node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/node_modules/@turf/jsts/dist/jsts.min.js.map' file: Error: ENOENT: no such file or directory, open '//node_modules/@turf/jsts/dist/jsts.min.js.map'
Could the sourcemaps be included?