-
Notifications
You must be signed in to change notification settings - Fork 357
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
renderSync fails in some cases with no file or directory exception #1395
Comments
It's hard to understand what's going on here without more context. Could you provide more code that illustrates your problem? In what environment are you trying to compile Sass (e.g. why is |
It is not passed. It is returned from the |
@Awjin To run - You can see there is a somewhat relative path with |
It looks like this is a problem with Jest, and not Sass. See this duplicate issue #710 for workarounds. |
@Awjin Okay. fine, but in my point of view, no changes should be applied to the path at all when I am providing the absolute path. And this is the issue of dart sass code. Better to add parameter like |
Mentioning this here as well: dart-lang/sdk#27979 |
Btw, I do not see that |
I have an issue, when the
renderSync
located in webpack fails, but not always, in my case it fails on storybook test.I found the issue, but I do not understand why it happens.
The core issue is that the
var file = options.file.andThen(p.absolute);
returnshttp://localhost/absolute/path/to/file.scss
when/absolute/path/to/file.scss
passed as afile
parameter.Could someone point me in to the right direction on solving this? May be it is about config (hovewer, it does work when I run the project with this webpack file)?
in both cases
options.file
andp.absolute
are looks the same (well, as far as I am able to see via debugger, asp.absolute
is some weird complex object)The text was updated successfully, but these errors were encountered: