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

Missing sourcemaps #15464

Closed
simonihmig opened this issue Jul 6, 2017 · 8 comments
Closed

Missing sourcemaps #15464

simonihmig opened this issue Jul 6, 2017 · 8 comments

Comments

@simonihmig
Copy link
Contributor

I get this error when upgrading to [email protected] 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 #15102, I am not so sure about it...

@olivierchatry
Copy link

I have the same issue.

@siriniok
Copy link

I think, this issue relates rather to ember-cli.

ember-cli/ember-cli#7212

@rwjblue
Copy link
Member

rwjblue commented Jul 19, 2017

No, this is definitely an issue here (perhaps in addition to ember-cli).

@simonihmig
Copy link
Contributor Author

@rwjblue are you able to confirm that exporting those sourcemap files in the vendorTree is the right path to go forward (see my first comment, being a bit confused about #15102)? If that is the case, I should be able to provide a quick PR hopefully...

@Samsinite
Copy link

Any help we can provide on this to get sourcemaps working again? It is quite a pain for css to not point to the correct scss file when debugging.

@rwjblue
Copy link
Member

rwjblue commented Aug 1, 2017

I don't believe this issue relates to CSS sourcemaps at all.

@Samsinite
Copy link

Samsinite commented Aug 1, 2017

Hmm... our sourcemaps broke after upgrading to 2.14, I'll take another look to help detect the problem; didn't look into it further after seeing this issue and assuming they were related. Thanks!

@bartocc
Copy link

bartocc commented Sep 25, 2018

Almost a year later, this warning pops up again in my codebase when upgrading from [email protected] to [email protected]

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?

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

No branches or pull requests

6 participants