-
Notifications
You must be signed in to change notification settings - Fork 157
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
Error: File to import not found or unreadable #79
Comments
I can confirm the above as well in a brand new Rails project. Upgrading to 1.12.0 from 1.11.4 causes an issue. Will post a minimally reproducible setup in a second. |
the issue seems to be related to this: https://github.com/sass/libsass/releases/tag/3.5.3 @xzyfer ^ |
// in app root dir, test.scss
@import "./other" // other.css
.something{
color: red;
} With
|
@tubbo I spent the majority of my morning looking through this and related issues, but what I can't understand is why that release would actually break anything. It seems that all that was added was a deprecation warning (which btw is pending to be rolled back, via sass/libsass#2684). @xzyfer do you mind confirming that this release only added a deprecation warning. (also, thanks for all of your patience and work regarding this issue, I've seen how much effort you've put into these libraries!) |
Please file an issue with the gem repo https://github.com/sass/sassc-rails |
@xzyfer I don't think |
Setup
With SassC 1.11.4
With SassC 1.12.0
|
@xzyfer This is the proper repo for this issue, as it's an issue with the version of libsass that sassc-ruby has vendored in. The submodule for libsass in this repo points to https://github.com/sass/libsass/commits/1e52b74306b7d73a617396c912ca436dc55fd4d8 But, that commit is before the fix that would have prevented all of these issues. So we really need libsass to be at https://github.com/sass/libsass/tree/19fd2bf2e31413b5935e7feb87fec630b486feba. |
@tubbo i'd prefer not to point at an arbitrary commit, but rather a release... Is there a release that resolves this? I don't have much time to dig into this at the moment. |
It seems to me that |
Cool, when that is done I'll update to it. |
If anyone is interested in contributing to the project, it would be nice to have a failing test for this. |
This resolves sass#79 and fixes an issue where the latest SassC is unable to `@import` files that end in a `.css` extension. By pulling in the latest changes of libsass at branch '3-5-stable', the breaking change that caused this issue will be reverted and life goes back to normal.
@bolandrm Unfortunately I don't think that's really an option. This is a "bug" in libsass, not in this library. And I say "bug", because it's actually something that will be unsupported in the future, but was temporarily rolled back for now. (AFAICT) |
Not yet @bolandrm, these commits are at the top of the |
@yjukaku sorry, i'm not exactly following what you are saying. What is your proposed resolution? |
Sorry for being unclear. I meant, I don't think it makes much sense to write a failing test for this issue in this repo, since it's really just because of a problem in I do agree that it would be better to wait until a new release of |
Well, had the regression test been present in this repo, the |
I opened #81 including a regression test, by the way! |
Any idea when this will be fixed? or should users just revert to 1.11.4 for now? |
Just released 1.12.1, please give it a try. Thanks all! |
As of 1.12.0 I am seeing errors like this:
Downgrading to 1.11.4 I no longer saw this issue.
The text was updated successfully, but these errors were encountered: