Missing sourcemaps
See original GitHub issueI 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:
- the supplied source maps are missing from the build (obviously)
- the warnings break our CI (but this is more related to https://github.com/ef4/fast-sourcemap-concat/issues/35)
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:
- Created 6 years ago
- Reactions:34
- Comments:8 (3 by maintainers)
Top 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 >
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 Free
Top 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

I have the same issue.
Almost a year later, this warning pops up again in my codebase when upgrading from
ember-source@3.2.2toember-source@3.3.0The exact warnings are:
Googling about this only led me to this issue.
Has anyone else experienced this?