react-rating icon indicating copy to clipboard operation
react-rating copied to clipboard

Source map error in meteor prevents chrome from loading any source maps

Open RealHandy opened this issue 7 years ago • 2 comments
trafficstars

I get this in the client devtools console at start when I use react-rating in my meteor project: DevTools failed to parse SourceMap: http://localhost:3000/packages/react-rating.js.map

It prevents all source maps from loading, which hampers my debug efforts. Any idea why react-rating does this, when none of the other 100 npm modules cause this problem? I'm not that familiar with how source maps work, so if this makes sense to you, it'd be great to resolve it.

RealHandy avatar Mar 30 '18 20:03 RealHandy

I don't know... Uhm... Is it there? In http://localhost:3000/packages/react-rating.js.map? This source map is generated by webpack automatically. So I don't think it is an actual parse error but a file not found error or something else.

dreyescat avatar Apr 02 '18 18:04 dreyescat

No, it’s not. Maybe it’s webpack+meteor related? I haven’t seen another package that has this behavior with the source maps.

On Apr 2, 2018, at 2:21 PM, dreyescat [email protected] wrote:

I don't know... Uhm... Is it there? In http://localhost:3000/packages/react-rating.js.map? This source map is generated by webpack automatically. So I don't think is an actual parse error but file not found error or something else.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

RealHandy avatar Apr 02 '18 21:04 RealHandy