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.

Missing sourcemaps

See original GitHub issue

I get this error when upgrading to ember-source@2.14.0 and building the app:

Warning: ignoring input sourcemap for vendor/ember/ember.debug.js because ENOENT: no such file or directory ...
Warning: ignoring input sourcemap for vendor/ember/ember-testing.js because ENOENT: no such file or directory, open ...

There are two problems with that:

I think the reason for this is that the dist files contain a reference to their sourcemap at the end of the file: //# sourceMappingURL=ember.debug.map. This seems to be new for 2.14, at least 2.13 did not have this. While there is a dist/ember.debug.map in the published npm package, these files are not added to the vendorTree in index.js, so they are really missing in the tmp tree when fast-sourcemap-concat tries to read them.

I can put a PR together exporting those files in the vendorTree if that is the way to go? But given there is https://github.com/emberjs/ember.js/pull/15102, I am not so sure about it…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:34
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

22reactions
olivierchatrycommented, Jul 8, 2017

I have the same issue.

6reactions
bartocccommented, Sep 25, 2018

Almost a year later, this warning pops up again in my codebase when upgrading from ember-source@3.2.2 to ember-source@3.3.0

The exact warnings are:

Warning: ignoring input sourcemap for vendor/ember/ember.debug.js because ENOENT: no such file or directory, open '<hidden>/tmp/source_map_concat-input_base_path-gcU53ttn.tmp/vendor/ember/index.js.map'
Warning: ignoring input sourcemap for vendor/ember/ember-testing.js because ENOENT: no such file or directory, open '<hidden>/tmp/source_map_concat-input_base_path-VfRaj57E.tmp/vendor/ember/testing.js.map'

Googling about this only led me to this issue.

Has anyone else experienced this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 12 source map is missing in browser - Stack Overflow
I am on Angular 13 and I'm struggling to get the sourceMaps in order to debug. Anyone has had the issue on the...
Read more >
Missing/broken sourcemaps for JS modules w/ imports when ...
IntelliJ/WebStorm/VSCode seems to be unable to properly debug local JavaScript files when debugging JS modules imported into Vue components in a ...
Read more >
Troubleshooting Source Maps for JavaScript
Alternatively, sentry-cli will automatically embed the sources (if missing) into your source maps. Verify sourceMappingURL is present. Some CDNs automatically ...
Read more >
Source map errors — Firefox Source Docs documentation
The source map resource can be missing or inaccessible. Source map file is missing. The fix here is to make sure the file...
Read more >
Sourcemaps not appearing in Browser UI
One of the source maps files you've uploaded, so we can review it and see if there may be something missing that's causing...
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