Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"File to import not found or unreadable" error occuring randomly #1668

Closed
2 tasks
fabricepallaud opened this issue Jun 19, 2016 · 1 comment
Closed
2 tasks

Comments

@fabricepallaud
Copy link

Submit a feature request or bug report

Replace any X with your information.


What is the current behavior?

gulp watch crashes when doing minor CSS changes in a completely random fashion: a particular CSS change works one time (browser automatically refreshes, change shows up, gulp watch still running without error), then another time the exact same change makes gulp watch crash with the following error:

[03:53:21] Starting 'styles'...
assets\styles\main.scss
Error: File to import not found or unreadable: partials/home_page
       Parent style sheet: D:/EasyPHP/www/pot/wp-content/themes/pot/assets/styles/main.scss
        on line 4 of assets/styles/main.scss
>> @import "partials/home_page";
   ^
[03:53:21] Finished 'styles' after 7.96 ms

What is the expected or desired behavior?

Expected behavior: gulp watch shouldn't crash


Please describe your local environment:

WordPress version: 4.5.2

OS: Windows 10

NPM/Node version: 6.1.0

Where did the bug happen? Development or remote servers?

Local Apache server

@fabricepallaud
Copy link
Author

The solution to my particular problem is there: dlmanning/gulp-sass#235

@retlehs retlehs closed this as completed Jul 21, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants