Dev tools warnings "Failed to parse source map"
See original GitHub issueWhen opening the dev tools, getting 10 warnings that all say the same. It seems this src folder is missing from the package. Only have these warnings for this package.
client:135 ./node_modules/html-to-image/es/cloneNode.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from 'C:\[redacted]\node_modules\html-to-image\src\cloneNode.ts' file: Error: ENOENT: no such file or directory, open 'C:\[redacted]\node_modules\html-to-image\src\cloneNode.ts'
Angular 10 site in Chrome.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The
source-map-loader
has a setting to disable certain paths, so one can just add the following option toconfig\webpack.config.js
and disable source maps only forhtml-to-image
I’ve just upgrade to
react-scripts
to v.5.0.0 which started usingsource-map-loader
v3.0.1. Since then I’m seeing this warnings as well while usinghtml-to-image
v1.9.0. Any ideas?This warnings are shown on console, I’m on macOs Monterey v12.2, node v16.14.0.
I will open a new issue if this one doesn’t get re-opened.