-
Notifications
You must be signed in to change notification settings - Fork 380
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
Unable to include library using the importPaths property #427
Comments
+1 I have the same issue with bootstrap-sass styles.scss file contains: and gulpfile.js contains: .pipe(sass({ Error in plugin 'sass'
|
+1, same problem with imports in .scss, but it does not always throw an error. Sometimes it is compiled, sometimes ends with error. Error messages looks pretty much the same. |
+1
Details:
Error: File to import not found or unreadable: components/modules/index-content.scss
|
@jkrehm : This issue is not resolved when using the current 3.5.0-beta.1 of node-sass (which implements the latest libsass 3.3.3 release). Thus this issue remains... Does anyone have any suggestions at all on what could be the solution to this issue? |
Ok, an update! As we know, this doesn't work:
After some digging into which paths are actually included, I figured out that an absolute path is actually expected:
Using the snippet above, I'm able to successfully compile my SASS. |
* Fixed importPaths: dlmanning/gulp-sass#427
As reported includePaths should be absolute. |
Hi,
I'm unable to successfully compile my scss files while including an external library.
I can't seem to figure out the correct path for including my library.
When I don't include a library, the scss files compile just fine.
A simplified example:
Gulp task
SASS file
Simplified folder structure
Error
Could someone point me in the right direction on what I'm doing wrong?
The text was updated successfully, but these errors were encountered: