question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Source maps seem to be broken in 2.7.0

See original GitHub issue

Since the version upgrade from 2.6.0 to 2.7.0, getting the following error repeatedly when trying to build a CRA app:

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
yairycommented, Sep 22, 2022

@juliencrn Yes, it’s okay now. Thanks a lot   🙏

0reactions
juliencrncommented, Sep 22, 2022

Source-map have been removed in usehooks-ts@2.7.1

https://github.com/juliencrn/usehooks-ts/releases/tag/usehooks-ts%402.7.1

Is everything ok?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Input source maps not working · Issue #882 · mishoo/UglifyJS
Tested today with 2.7.0, and unfortunately seems still to be broken. ... It seems that one person's source map fix is another's source...
Read more >
4 Reasons Why Your Source Maps are Broken - Sentry Blog
4 Reasons Why Your Source Maps are Broken · Missing or incorrect source map directive · Missing original source files · Bad source...
Read more >
Are Webpack SASS Source-maps Broken? - Stack Overflow
I'm evaluating Webpack as a replacement for Grunt in my company's projects. Everything seems great, apart from SASS ...
Read more >
GWT Release Notes
(Sourcemap file size is reduced.) The -launcherDir flag may be used to avoid running the GWT compiler before starting Super Dev Mode.
Read more >
Debugging (Smart GWT LGPL Edition API 13.0p (2022-12-13))
Testing with SmartGWT and GWT 2.7.0 and 2.8.x have shown that Google Chrome, Firefox 60 ESR, and IE11 all support source maps when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found