question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

update to 2.3.0 no longer finds @import file

See original GitHub issue

Hi,

I have been building a custom bootstrap for some time using gulp-sass version 2.2.0. The 2.3.0 version is failing to find variables.scss where before it used to.

events.js:141
      throw er; // Unhandled 'error' event
      ^
 Error: Content\build\skins\_greentur.scss
Error: File to import not found or unreadable: variables
       Parent style sheet: Aureus.Web/Content/build/skins/_greentur.scss
        on line 4 of Content/build/skins/_greentur.scss
>> @import "variables";

The directory structure looks like this:

   build\all.scss
   build\_variables.scss
   build\skins\_greentur.scss

_greentur.scss contains @import "variables" all.scss contains @import "skins\greentur"

I have successfully built this using the original native sass version, so I don’t think my paths are wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:14

github_iconTop GitHub Comments

1reaction
xzyfercommented, Apr 21, 2016

@JimmyVV it looks like your includePaths are also incorrect. If your source is

gulp.src("dev/sass/**/*.scss")

Your includePaths should be

sass({ includePaths: ['dev/sass/'] })
0reactions
xzyfercommented, Apr 21, 2016

This appears to have been cause by some code that may have been mistakenly removed. I have restored it in https://github.com/dlmanning/gulp-sass/pull/474 and currently waiting on confirmation from the author.

Read more comments on GitHub >

github_iconTop Results From Across the Web

389 Directory Server - Releases/2.3.0 - Fedora
For upgrades, simply install the package. There are no further steps required. There are no upgrade steps besides installing the new rpms. See ......
Read more >
urllib3 (1.9.1) or chardet (2.3.0) doesn't match a supported ...
After this, pip list does not get a RequestsDependencyWarning. The output on my system: $ sudo pip install --upgrade requests /usr/lib/python3.7 ...
Read more >
Unable to install/import fastparquet · Issue #601 - GitHub
This issue appeared today (4 days ago I was able to use fastparquet without any complications). How to Reproduce: Run the following install...
Read more >
Spring Boot 2.3.0 available now
0 has been released and is available now from repo.spring.io and Maven Central. This release adds a significant number of new features and ......
Read more >
WP Migrate DB Pro Changelog - Delicious Brains
Bug fix: Updating WP Migrate DB Pro via WP-CLI now includes license key in the download link; Bug fix: Opening Find & Replace...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found