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

Warning in DevTools about missing source maps #202

Closed
nolanlawson opened this issue Dec 28, 2021 · 2 comments · Fixed by #203
Closed

Warning in DevTools about missing source maps #202

nolanlawson opened this issue Dec 28, 2021 · 2 comments · Fixed by #203

Comments

@nolanlawson
Copy link

Hello, thanks for making this library! It's incredibly useful. 🙂

I noticed when I run node --inspect-brk (i.e. the Node inspector tool) in a project containing table, the Chrome DevTools complain about not being able to load source maps:

Screenshot from 2021-12-27 16-25-30

The reason seems to be that the published .js files (e.g. alignTableData.js) contain //# sourceMappingURL=<filename>.js.map at the end, but the .js.map files are not actually published.

It would be great if either 1) the .js.map files were published, or 2) the sourceMappingURL were removed, to avoid seeing a warning about missing source maps.

@github-actions
Copy link

github-actions bot commented Jan 5, 2022

🎉 This issue has been resolved in version 6.7.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ViieeS
Copy link

ViieeS commented Mar 17, 2023

WARNING in ./node_modules/table/dist/src/wrapString.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/node_modules/table/src/wrapString.ts' file: Error: ENOENT: no such file or directory, open '/node_modules/table/src/wrapString.ts'

I see the same problem with React v18 (react-script v5)

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

Successfully merging a pull request may close this issue.

4 participants